large pages (amd64)
Alan Cox
alc at cs.rice.edu
Fri Jul 3 19:19:18 UTC 2009
Robert Watson wrote:
>
> On Tue, 30 Jun 2009, Mel Flynn wrote:
>
>>>> It looks like sys/kern/kern_proc.c could call mincore around the
>>>> loop at line 1601 (rev 194498), but I know nothing about the vm
>>>> subsystem to know the implications or locking involved. There's
>>>> still 16 bytes of spare to consume, in the kve_vminfo struct though ;)
>>>
>>> Yes, to start with, you could replace the call to pmap_extract()
>>> with a call to pmap_mincore() and export a Boolean to user space
>>> that says, "This region of the address space contains one or more
>>> superpage mappings."
>>
>> How about attached?
>
> I like the idea -- there are some style nits that need fixing though.
> Assuming Alan is happy with the VM side of things, I can do the
> cleanup and get it in the tree.
Aside from the style nits, it looks good to me.
Alan
More information about the freebsd-hackers
mailing list