lkml.org 
[lkml]   [2009]   [Nov]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 9 Nov 2009 09:26:05 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: [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


\
 
 \ /
  Last update: 2009-11-09 18:31    [W:0.464 / U:0.020 seconds]
©2003-2009 Jasper Spaans