List Info

Thread: IA-64 4-level page table support




IA-64 4-level page table support
user name
2006-08-01 18:59:11
Troy Heber wrote:

> On 08/01/06 14:46, Dave Anderson wrote:
> > Does the one you used to query CONFIG_PGTABLE_4
show CONFIG_HZ (or
> > perhaps CONFIG_HZ_100, CONFIG_HZ_250, and/or
CONFIG_HZ_1000)?
>
> On my both my IA-64 and AMD64 2.6.17 boxs I have:
>
> # CONFIG_HZ_100 is not set
>   CONFIG_HZ_250=y
> # CONFIG_HZ_1000 is not set
>   CONFIG_HZ=250
>
> Troy
>

So we should be able to add CONFIG_HZ to the parse[] array
in read_config(), and then just do an atoi(val) to get its
value?
If you get a minute, can you try that?

Dave


--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
IA-64 4-level page table support
user name
2006-08-01 19:20:37
On 08/01/06 14:59, Dave Anderson wrote:
> Troy Heber wrote:
> So we should be able to add CONFIG_HZ to the parse[]
array
> in read_config(), and then just do an atoi(val) to get
its value?

Yep, I tried to make the parse routine robust enough to get
everything
we care about. I used the NR_CPU case to illustrate.

Don't forget that we also need to update the LIST_SIZE
define when
adding an item to the parse list, it's probably a good idea
to pull
that out of defs.h and define it right next to the list
definition.

> If you get a minute, can you try that?

Yep, works fine.

Troy

--
Crash-utility mailing list
Crash-utilityredhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )