[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 12 Dec 2006 17:14:53 +0000
From: Ralf Baechle <ralf@...ux-mips.org>
To: Linus Torvalds <torvalds@...l.org>, Andrew Morton <akpm@...l.org>
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] Fix COW D-cache aliasing on fork
This is a respin of the patch series I posted a while ago updated for
today's kernel:
o patch 1/4 allows an architecture to override the generic
copy_user_highpage with an architecture specific implementation. For
details about the aliasing issue please see the log message of that
patch.
o patch 2/4 passes a vma argument to copy_user_highpage. This allows
an architecture to optimize its cache handling by looking at the
vma's VM_EXEC flag. On architecture that do not make use of this gcc
will be able to optimize the argument passing away, so no overhead.
o patch 3/4 uses the facilities of the first two patches to solve the
alias issue for MIPS
o patch 4/4 is not a cache alias fix but allows optimizing away the
cache flush operation in dup_mm(). On a MIPS 34K this accelerates
fork by 12.5%.
Since this patch is logically separate from 1-3 it can be applied
independantly.
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists