Support inode defragmentation for sockets
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
net/socket.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/net/socket.c b/net/socket.c
index ec07703..89fc7a5 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -264,6
Extract the common code to remove a dentry from the lru into a new function
dentry_lru_remove().
Two call sites used list_del() instead of list_del_init(). AFAIK the
performance of both is the same. dentry_lru_remove() does a list_del_init().
As a result dentry->d_lru is now always empty when a d
In order to support defragmentation on the dentry cache we need to have
an determined object state at all times. Without a destructor the object
would have a random state after allocation.
So provide a constructor.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
fs/dcache.c | 26 +
Defragmentation support for buffer heads. We convert the references to
buffers to struct page references and try to remove the buffers from
those pages. If the pages are dirty then trigger writeout so that the
buffer heads can be removed later.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
This implements the ability to remove inodes in a particular slab
from inode cache. In order to remove an inode we may have to write out
the pages of an inode, the inode itself and remove the dentries referring
to the node.
Provide generic functionality that can be used by filesystems that have
th
Slabs that are reclaimable fit the definition of the objects in
ZONE_MOVABLE. So set __GFP_MOVABLE on them (this only works
on platforms where there is no HIGHMEM. Hopefully that restriction
will vanish at some point).
Also add the SLAB_TEMPORARY flag for slab caches that allocate objects with
a s
Support defragmentation for extX filesystem inodes
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
fs/ext2/super.c |9 +
fs/ext3/super.c |8
fs/ext4/super.c |8
3 files changed, 25 insertions(+)
Index: linux-2.6/fs/ext2/super.c
=
Support inode defragmentation for xfs
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
fs/xfs/linux-2.6/xfs_super.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 4528f9a..e60c90e 100644
--- a
Slab defragmentation: Support reiserfs inode defragmentation
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
fs/reiserfs/super.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 5b68dd3..0344be9 100644
--- a/f
Add some debugging printks for slab defragmentation
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
mm/slub.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
Index: linux-2.6/mm/slub.c
===
--- linux-2.
On Fri, 31 Aug 2007, Mitchell Erblich wrote:
> "Robert P. J. Day" wrote:
> >
> > at the risk of driving everyone here totally bonkers, i'm going to
> > take one last shot at explaining what i was thinking of when i first
> > proposed this whole "maturity level" thing. and, just so you know,
> >
On Sat, 2007-09-01 at 03:00 +0200, Björn Steinbrink wrote:
> On 2007.08.31 17:24:46 -0700, Daniel Walker wrote:
> > On Fri, 2007-08-31 at 20:06 +0200, Björn Steinbrink wrote:
> >
> >
> > > > something to do with the nmi hertz adjustment that happens after
> > > > check_nmi_watchdog() ..
> > >
>
Clemens Kolbitsch wrote:
On Friday 31 August 2007 15:25:40 you wrote:
On 8/30/07, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote:
Hi!
Just a short question: What is the correct method of copying large areas
of memory from userspace into userspace when running in kernel-mode?
relayfs?
no... I'm
On Sat, 1 Sep 2007, KAMEZAWA Hiroyuki wrote:
> On Fri, 31 Aug 2007 18:41:21 -0700
> Christoph Lameter <[EMAIL PROTECTED]> wrote:
>
> > +#ifndef CONFIG_HIGHMEM
> > + if (s->kick || s->flags & SLAB_TEMPORARY)
> > + flags |= __GFP_MOVABLE;
> > +#endif
> > +
>
> Should I do this as
>
>
(resend, this one got lost? Got an acked-by from Andreas
last go-round)
(Andrew, Ted, should I be splitting out ext3 and ext4 patches and
sending separately...?)
Thanks,
-Eric
--
A corrupt ondisk hash dir limit will trip an assert in dx_probe,
which calls BUG(). Instead, we can just i
On Fri, 24 Aug 2007 15:26:57 -0700 [EMAIL PROTECTED] wrote:
> Convert cpu_sibling_map from a static array sized by NR_CPUS to a
> per_cpu variable. This saves sizeof(cpumask_t) * NR unused cpus.
> Access is mostly from startup and CPU HOTPLUG functions.
ia64 allmodconfig:
kernel/sched.c: In fun
On Friday 31 August 2007, Adrian McMenamin wrote:
> On 31/08/2007, Mike Frysinger <[EMAIL PROTECTED]> wrote:
> > On 8/31/07, Adrian McMenamin <[EMAIL PROTECTED]> wrote:
> > > This patch makes the PVR2 VBLANK interrupt on the SEGA Dreamcast
> > > shareable - a small but necessary change to enable on
From: Randy Dunlap <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Johannes Berg reports (Thanks!) that &struct names are not highlighted in
html output format when they are inside a DOC: block.
DOC: blocks were not escaped thru xml_escape() like other kernel-doc
comments were. Fixed that.
However,
On Fri, 31 Aug 2007 20:58:45 -0700 Randy Dunlap wrote:
> From: Randy Dunlap <[EMAIL PROTECTED]>
>
> Cc: [EMAIL PROTECTED]
>
> Johannes Berg reports (Thanks!) that &struct names are not highlighted in
> html output format when they are inside a DOC: block.
>
> DOC: blocks were not escaped thru x
On Fri, 2007-08-31 at 15:22 +0200, Roman Zippel wrote:
> Were there some kernel messages while running it?
Nope.
-Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/m
Hi LKML,
looking thru lock_sock_nested (while trying to catch
BUG in CIFS as reported on bugzilla #8377) I found
that lock_sock_nested consist of:
void fastcall lock_sock_nested(struct sock *sk, int subclass)
{
might_sleep();
--->spin_lock_bh(&sk->sk_lock.slock);
if (sk->sk_l
When playing audio with the snd-powermac driver on a PowerMac G4
Quicksilver (Tumbler audio) the sound hangs after a few seconds.
- The time before a hang varies from one second to one minute.
- Killing the process playing sound and starting again will allow
sound to continue (for a few more secon
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/
- git-kbuild is broken and has been dropped
- git-ixgb is broken by git-net and has been dropped
- git-md-accel is broken by MD fixes and has been dropped
- git-v9fs breaks the build on all non-x86 and the
On Fri, 31 Aug 2007 18:41:21 -0700
Christoph Lameter <[EMAIL PROTECTED]> wrote:
> +#ifndef CONFIG_HIGHMEM
> + if (s->kick || s->flags & SLAB_TEMPORARY)
> + flags |= __GFP_MOVABLE;
> +#endif
> +
Should I do this as
#if !defined(CONFIG_HIGHMEM) && !defined(CONFIG_MEMORY_HOTREMOVE)
Hello,
This patch fixes the unbalanced parenthesis inroduced by
add-a-rounddown_pow_of_two-routine-to-log2h.patch.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
include/linux/log2.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.23-rc4-mm1-a/include/linux
2007/8/31, Nick Kossifidis <[EMAIL PROTECTED]>:
> 2007/8/30, John W. Linville <[EMAIL PROTECTED]>:
> > On Thu, Aug 30, 2007 at 04:38:09AM +0300, Nick Kossifidis wrote:
> > > 2007/8/28, Christoph Hellwig <[EMAIL PROTECTED]>:
> >
> > > > Also this whole patch seems rather pointless. It saves only
>
Hello,
This patch fixes unbalanced parenthesis.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
drivers/net/skge.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.23-rc4-mm1-a/drivers/net/skge.h 2007-09-01 07:23:52.0
+0200
+++ linux-2.6.23-rc4-mm1
On Aug 31 2007 19:48, Robert Hancock wrote:
>
> I'm not aware of any code in the kernel that does userspace-to-userspace
> copies directly. Likely because there's rarely a need for it?
splice(), sort of.
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
On Fri 31 Aug 2007 17:22, Mike Frysinger pondered:
> is there any sort of standard for testing and integration into
> mainline ? in the Blackfin world, we've been developing little
> external kernel modules and adding them to our own testsuite, but
> often times these things are not Blackfin speci
Hello,
This patch fixes unbalanced parenthesis.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
include/asm-arm/arch-sa1100/SA-1101.h.c | -> ( bytes)
include/asm-arm/arch-sa1100/SA-1101.h.o | -> ( bytes)
include/asm-arm/arch-sa1100/SA-1101.h |4 ++--
1 file changed, 2 in
This is both -rc and stable material.
Subject: kconfig: oldconfig shall not set symbols if it does not need to
From: Roman Zippel <[EMAIL PROTECTED]>
Avoid setting the value if the symbol doesn't need to be changed or can't
be changed. Later choices may change the dependencies and thus the
possibl
On Aug 31 2007 18:02, Jeff Garzik wrote:
> Robert P. J. Day wrote:
>> it may be that some people had a different understanding of what was
>> meant by "maturity" than i did. what *i* meant by that attribute is
>> a feature's current position in the normal software life cycle, and
>> that would
On Aug 31 2007 21:33, Robert P. J. Day wrote:
>
>perhaps. all i'm begging for is that these attributes be defined
>cleanly and clearly, and following those two conditions i suggested
>earlier:
>
>1) all attributes are orthogonal to one another, and
This "orthogonal" argument is reserved for the
Hi,
On Fri, 31 Aug 2007, Ingo Molnar wrote:
Maybe I should explain for everyone else (especially after seeing some of
the comments on kerneltrap), why I reacted somewhat irritated on what
looks like such an innocent mail.
The problem is without the necessary background one can't know how wrong
I met 2 troubles while I compiled rc4-mm1 on x86/UP system,
One on pcnet32.c (patch is attaced below).
One on crypto CONFIG.
== compile log ==
drivers/net/pcnet32.c: In function 'pcnet32_netif_stop':
drivers/net/pcnet32.c:445: warning: unused variable 'lp'
drivers/net/pcnet32.c: In function 'pcne
I'm making ready to leave for the kernel summit (as are probably a lot of
other core kernel people), and as part of that, there's a 2.6.23-rc5 out
there now.
Hopefully we've addressed most regressions, so please do give it a good
testing.
The shortlog and diffstat are appended: the diffstat i
On Sat, 1 Sep 2007, Mariusz Kozlowski wrote:
> Hello,
>
> This patch fixes the unbalanced parenthesis inroduced by
> add-a-rounddown_pow_of_two-routine-to-log2h.patch.
>
> Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
>
> include/linux/log2.h |2 +-
> 1 file changed, 1 insertion(
301 - 337 of 337 matches
Mail list logo