public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Peng Tao <bergwolf@gmail.com>
Cc: linux-kernel@vger.kernel.org, Andreas Dilger <andreas.dilger@intel.com>
Subject: Re: [PATCH 1/4] staging/lustre/llite: cache jobid in lu_env
Date: Wed, 30 Oct 2013 06:19:42 -0700	[thread overview]
Message-ID: <20131030131942.GC30087@kroah.com> (raw)
In-Reply-To: <1383132636-8952-1-git-send-email-bergwolf@gmail.com>

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

      parent reply	other threads:[~2013-10-30 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 11:30 [PATCH 1/4] staging/lustre/llite: cache jobid in lu_env Peng Tao
2013-10-30 11:30 ` [PATCH 2/4] staging/lustre/obdclass: read jobid from proc Peng Tao
2013-10-30 13:21   ` Greg Kroah-Hartman
2013-10-30 13:31     ` Peng Tao
2013-10-30 14:20       ` Greg Kroah-Hartman
2013-10-30 15:15         ` Peng Tao
2014-02-04  6:12     ` Oleg Drokin
2014-02-04 16:57       ` Greg Kroah-Hartman
2014-02-04 17:27         ` Oleg Drokin
2013-10-30 11:30 ` [PATCH 3/4] staging/lustre: remove cfs_get_environ and cfs_access_process_vm Peng Tao
2013-10-30 11:30 ` [PATCH 4/4] staging/lustre: enable build on MIPS/XTENSA/SUPERH Peng Tao
2013-10-30 13:19 ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131030131942.GC30087@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=andreas.dilger@intel.com \
    --cc=bergwolf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox