lkml.org 
[lkml]   [2013]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] staging/lustre/llite: cache jobid in lu_env
On Wed, Oct 30, 2013 at 07:30:33PM +0800, Peng Tao wrote:
> We will switch to find jobid from /proc/self/environ and we need an
> extra memory copy to do it, so let's cache it in lu_env.
> It is then copied from lu_env to ll_inode_info upon every read/write.

What does this mean?

And you better not be reading proc values from within the kernel...

greg k-h


\
 
 \ /
  Last update: 2013-10-30 14:41    [W:0.062 / U:3.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site