From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: PATCH: EDAC - clean up atomic stuff
Date: Mon, 31 Oct 2005 15:30:28 +0000 [thread overview]
Message-ID: <1130772628.9145.35.camel@localhost.localdomain> (raw)
In-Reply-To: <m164rhbnyk.fsf@ebiederm.dsl.xmission.com>
On Gwe, 2005-10-28 at 10:33 -0600, Eric W. Biederman wrote:
> A couple of questions
> - Why a u32 for length and not just unsigned?
Because it was loading it into a 32bit counter so the input was 32bit.
Just habit really.
> - Why is the x86_64 version clearing 32bit words and not 64bit words,
> that should be noticeably faster if we ever need to use that
> code.
I doubt it makes much difference. I kept it 32bit to keep the split
simple. It can certainly be optimised if someone wants to. I'd hope
however ECC scrub is never a hot path!
> - Is KM_BOUNCE_READ a safe atomic_kmap entry to be using?
> I'm not certain, but my gut feel is that scrubbing probably
> wants it's own kmap type.
> I remember doing some looking when I first wrote this and thinking
> that KM_BOUNCE_READ looked safe and was good enough until the code
> got merged into the kernel.
I was looking at that. I think it is but I'm not 100% sure or an expert
on kmaps.
next prev parent reply other threads:[~2005-10-31 15:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 13:40 PATCH: EDAC - clean up atomic stuff Alan Cox
2005-10-28 16:33 ` Eric W. Biederman
2005-10-31 15:30 ` Alan Cox [this message]
2005-10-31 16:34 ` Eric W. Biederman
2005-10-31 20:02 ` Andrew Morton
2005-11-01 12:03 ` Eric W. Biederman
2005-11-01 12:46 ` Alan Cox
2005-11-01 12:38 ` Eric W. Biederman
2005-11-02 5:26 ` Andrew Morton
2005-11-02 16:02 ` Alan Cox
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=1130772628.9145.35.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@osdl.org \
--cc=ebiederm@xmission.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.