Re: why inode creation with GFP_HIGHUSER?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



girish wrote:

i'd like to know why page(s) for inodes are allocated with
GFP_HIGHUSER & not with GFP_USER mask? is there any particular need
that the address_space be set with GFP_HIGHUSER flag?

This is done so that pagecache pages can live in highmem.

i intend to allocate highmem pages strictly to user processes. my idea
is to completely avoid kernel mapping for these pages.

That's not going to work, think of ptrace and friends...

--
What is important?  What you want to be true, or what is true?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux