Re: __GFP_RECLAIMABLE in case of GFP_DMA, GFP_KERNEL etc.

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

 



On Thu, Mar 19, 2009 at 10:19 PM, Jagadeesh Bhaskar P
<jagadeeshbp@xxxxxxxxx> wrote:
> Any clues as to why is __GFP_RECLAIMABLE not set by default in GFP_DMA,
> GFP_KERNEL and such?

Just a guess, by avoiding reclaimable flag, the allocated memory block
will stay as long as need (until freed intentionally by the initial
allocator). Thus, further avoiding unneccessary reallocation.

Probably it's useful for something that should increase cache hit
ratio.... certain kind of slab cache maybe?

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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