From: Richard Kennedy <richard@rsk.demon.co.uk>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Roland McGrath <roland@redhat.com>,
Vitaly Mayatskikh <vmayatsk@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] introduce "struct wait_opts" to simplify do_wait() pathes
Date: Sun, 10 May 2009 11:50:46 +0100 [thread overview]
Message-ID: <1241952646.2724.3.camel@localhost.localdomain> (raw)
In-Reply-To: <20090509161901.GB8150@redhat.com>
On Sat, 2009-05-09 at 18:19 +0200, Oleg Nesterov wrote:
> sorry for delay Richard,
>
> On 05/07, Richard Kennedy wrote:
> >
> > Oleg Nesterov wrote:
> > >
> > > +struct wait_opts {
> > > + enum pid_type wo_type;
> > > + struct pid *wo_pid;
> > > + int wo_flags;
> > > +
> > > + struct siginfo __user *wo_info;
> > > + int __user *wo_stat;
> > > + struct rusage __user *wo_rusage;
> > > +
> > > + int notask_error;
> > > +};
> > > +
> >
> > Hi Oleg,
> > you can remove 8 bytes of alignment padding from wait_opts on 64bit
> > builds if you reorder it slightly.
> >
> > struct wait_opts {
> > enum pid_type wo_type;
> > int wo_flags;
> > struct pid *wo_pid;
> > ...
>
> Thanks, didn't think about this...
>
> This is already in -mm, perhaps you can send the patch to Andrew?
>
> Oleg.
>
no problem. I'll send Andrew a patch shortly.
Richard
prev parent reply other threads:[~2009-05-10 10:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 6:46 [PATCH 2/5] introduce "struct wait_opts" to simplify do_wait() pathes Oleg Nesterov
2009-05-07 7:25 ` Roland McGrath
2009-05-07 11:54 ` Richard Kennedy
2009-05-09 16:19 ` Oleg Nesterov
2009-05-10 10:50 ` Richard Kennedy [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=1241952646.2724.3.camel@localhost.localdomain \
--to=richard@rsk.demon.co.uk \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=oleg@redhat.com \
--cc=roland@redhat.com \
--cc=vmayatsk@redhat.com \
/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