|
age has to be allocated.
1395 */
1396 if(!in_interrupt())
1397 current->mems_allowed = vma->vm_mems_allowed;:
1417 }
【mm/page_alloc.c】
334 struct page * __alloc_pages(..)
:
343 if (in_interrupt())
344 mems_allowed = kernel_cms->mems_allowed;
345 else
346 mems_allowed = current->mems_allowed;
347 if (mems_allowed == 0) {
348 printk(KERN_DEBUG workaround zero mems_allowed in alloc_pages\\n);
349 页码:[1] [2] [3] [4] [5] [6] 第4页、共6页 |