Displaying 1 result from an estimated 1 matches for "reserve_pfn_range".
2011 Nov 26
2
Bug#646987: /usr/bin/xinit: xinit fails with xkbcomp could not be invoked
The function that returns ENOMEM is actually copy_mm. It returns
ENOMEM when dup_mm returns 0.
copy_mm receives clone_flags and task_struct * tsk. I think tsk
is pointing to the new task (the process being forked).
copy_mm assigns some values into *tsk, then:
tsk->mm = NULL;
tsk->active_mm = NULL;
then we check if current process has ->mm; if not, return 0
(effectively