Messages in this thread | | | Date | Wed, 30 Oct 2013 06:19:42 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [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
| |