From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: Andrew Morton <akpm@osdl.org>,
dwmw2@infradead.org,
Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] kill sleep_on
Date: Sun, 18 Jan 2004 03:03:00 -0500 [thread overview]
Message-ID: <1074412980.1574.40.camel@nidelv.trondhjem.org> (raw)
In-Reply-To: <400A396B.4090207@colorfullife.com>
På su , 18/01/2004 klokka 02:44, skreiv Manfred Spraul:
> Andrew Morton wrote:
>
> >That's quite a lot of contention on the lock_kernel() in remote_llseek().
> >
> >
> What about switching to generic_file_llseek, at least for files? The
> only references to f_pos are in filldir/readdir.
I'm not sure that taking inode->i_sem would be much of an improvement.
Both th BKL and the inode semaphore seem superfluous to me in this
situation.
After all, the file size is now protected by neither of the above, but
rather by its own seqlock...
Cheers,
Trond
next prev parent reply other threads:[~2004-01-18 8:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-17 18:43 Manfred Spraul
2004-01-17 19:19 ` Arjan van de Ven
2004-01-17 19:28 ` David Woodhouse
2004-01-17 20:10 ` viro
2004-01-17 23:18 ` Trond Myklebust
2004-01-17 23:45 ` David Woodhouse
2004-01-18 6:41 ` Andrew Morton
2004-01-18 6:57 ` Trond Myklebust
2004-01-18 7:05 ` Trond Myklebust
2004-01-18 7:36 ` Andrew Morton
2004-01-18 7:44 ` Manfred Spraul
2004-01-18 8:03 ` Trond Myklebust [this message]
2004-01-18 8:18 ` Manfred Spraul
2004-01-18 17:07 ` Trond Myklebust
2004-01-18 7:54 ` Trond Myklebust
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=1074412980.1574.40.camel@nidelv.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=akpm@osdl.org \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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®