Re: [PATCH 1/4] staging/lustre/llite: cache jobid in lu_env
From: Greg Kroah-Hartman
Date: Wed Oct 30 2013 - 09:17:48 EST
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...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/