mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Santiago Leon <santil@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6] ibmveth bug fixes 4/4
Date: Sun, 15 Aug 2004 13:01:45 -0700	[thread overview]
Message-ID: <20040815130145.794615d8.akpm@osdl.org> (raw)
In-Reply-To: <41190E97.2050705@us.ibm.com>

Santiago Leon <santil@us.ibm.com> wrote:
>
> his patch adds a memory barrier to ensure synchronization with the 
>  hypervisor (and avoid a panic when the hypervisor is halfway through 
>  writing to the descriptor). It also removes an unnecessary check that is 
>  flawed anyway because the value can change between the atomic_inc() and 
>  the assert. Please apply.
> 
> ...
>  @@ -733,6 +732,8 @@
>   
>   		if(ibmveth_rxq_pending_buffer(adapter)) {
>   			struct sk_buff *skb;
>  +
>  +			rmb();

Please always add a comment when adding such a barrier - it is otherwise
quite impossible for the reader to work out what it is doing in there.

Also, please in future avoid giving your patches subjects such as "ibmveth
bug fixes 4/4".  Remember that the Subject: in your email will be carried
through into kernel bitkeeper and it should be meaningful.

I relabelled these four patches as

	ibmveth: module tag fixes
	ibmveth: race fixes
	ibmveth: hypervisor return value fix
	ibmveth: add memory barrier for hypervisor synchronisation

Thanks.

      parent reply	other threads:[~2004-08-15 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10 18:06 Santiago Leon
2004-08-11  0:40 ` Santiago Leon
2004-08-11  1:30   ` Santiago Leon
2004-08-15 20:01 ` Andrew Morton [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=20040815130145.794615d8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=santil@us.ibm.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

all inboxes | Powered by JetHome®