Messages in this thread |  | | | Date | Mon, 9 Nov 2009 09:26:05 -0800 (PST) | | From | Linus Torvalds <> | | Subject | Re: [PATCH 0/3] extend get/setrlimit to support setting rlimits external to a process (v7) |
On Mon, 9 Nov 2009, Jiri Slaby wrote:
> On 11/09/2009 05:40 PM, Oleg Nesterov wrote: > > Also, I don't understand why wthis code get's both pid and task_struct(). > > And what do you suggest? I, with my knowledge and after fast > investigation, see no other option.
Isn't
task = find_task_by_vpid(pid);
what you want?
Linus
|  |