From: Andi Kleen <ak@suse.de>
To: Andrew Morton <akpm@digeo.com>
Cc: Andi Kleen <ak@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] blockgroup_lock: hashed spinlocks for ext2 and ext3
Date: Mon, 14 Apr 2003 23:46:08 +0200 [thread overview]
Message-ID: <20030414214608.GA3392@wotan.suse.de> (raw)
In-Reply-To: <20030414143813.329609a6.akpm@digeo.com>
> per_cpu data is statically allocated, at compile-time. And it doesn't work
> for modules.
>
> These hashed locks need to be dynamically allocated (one per filesystem) and
> they need to work from modules.
Ok.
>
> And this hashed lock is not a per-cpu thing. (No locks are!) It just uses
> NR_CPUS to decide how big the hash should be.
Isn't that what the IBM kmalloc_per_cpu() was for ? (I think the patch
was from Dipankar)
-Andi
next prev parent reply other threads:[~2003-04-14 21:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200304131113.h3DBDvj2004773@hera.kernel.org>
2003-04-14 20:06 ` [PATCH] blockgroup_lock: hashed spinlocks for ext2 and ext3 Andi Kleen
2003-04-14 21:38 ` Andrew Morton
2003-04-14 21:46 ` Andi Kleen [this message]
2003-04-14 21:58 ` Andrew Morton
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=20030414214608.GA3392@wotan.suse.de \
--to=ak@suse.de \
--cc=akpm@digeo.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