Memory policy question for NUMA arch....

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

 



CC'ing linux-numa. I emailed it to linux-kernel but forgot to 'CC' linux-numa. Please CC 'linux-kernel' while replying.

Hello,

On a NUMA host, if a driver calls __get_free_pages() then 
it will eventually invoke ->alloc_pages_current(..). The comment 
above/within alloc_pages_current() says 'current->mempolicy' will be 
used.So what memory policy will kick-in if the driver is trying to 
allocate some memory blocks during driver load time(say from probe_one)? System-wide default policy,correct?

What if the driver wishes to i) stay confined to a 'cpulist' OR ii) use a different mem-policy? How 
do I achieve this?
I will choose the 'cpulist' after I am successfuly able to affinitize the MSI-X vectors.

regards
Rick


      
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux