* Re: [RFC, 2.6.26.2-rc1] exec: remove some includes
2008-08-02 19:45 [RFC, 2.6.26.2-rc1] exec: remove some includes Oliver Pinter
@ 2008-08-02 19:39 ` Linus Torvalds
2008-08-02 19:53 ` Hugh Dickins
2008-08-02 19:56 ` Willy Tarreau
1 sibling, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2008-08-02 19:39 UTC (permalink / raw)
To: Oliver Pinter; +Cc: Hugh Dickins, stable, Andrew Morton, linux-kernel
On Sat, 2 Aug 2008, Oliver Pinter wrote:
>
> [ Upstream commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ]
>
> fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
> mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
Why on earth would this be -stable material?
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* [RFC, 2.6.26.2-rc1] exec: remove some includes
@ 2008-08-02 19:45 Oliver Pinter
2008-08-02 19:39 ` Linus Torvalds
2008-08-02 19:56 ` Willy Tarreau
0 siblings, 2 replies; 5+ messages in thread
From: Oliver Pinter @ 2008-08-02 19:45 UTC (permalink / raw)
To: Hugh Dickins, stable
Cc: Andrew Morton, Linus Torvalds, Oliver Pinter, linux-kernel
>From ba92a43dbaee339cf5915ef766d3d3ffbaaf103c Mon Sep 17 00:00:00 2001
From: Hugh Dickins <hugh@veritas.com>
Date: Fri, 25 Jul 2008 01:45:43 -0700
Subject: [PATCH] exec: remove some includes
[ Upstream commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ]
fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
[akpm@linux-foundation.org: unbreak arm]
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
CC: Oliver Pinter <oliver.pntr@gmail.com>
diff --git a/fs/exec.c b/fs/exec.c
index 190ed1f..e41aef0 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -25,19 +25,18 @@
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/fdtable.h>
-#include <linux/mman.h>
+#include <linux/mm.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/smp_lock.h>
+#include <linux/swap.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/spinlock.h>
#include <linux/key.h>
#include <linux/personality.h>
#include <linux/binfmts.h>
-#include <linux/swap.h>
#include <linux/utsname.h>
#include <linux/pid_namespace.h>
#include <linux/module.h>
@@ -47,7 +46,6 @@
#include <linux/mount.h>
#include <linux/security.h>
#include <linux/syscalls.h>
-#include <linux/rmap.h>
#include <linux/tsacct_kern.h>
#include <linux/cn_proc.h>
#include <linux/audit.h>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [RFC, 2.6.26.2-rc1] exec: remove some includes
2008-08-02 19:39 ` Linus Torvalds
@ 2008-08-02 19:53 ` Hugh Dickins
0 siblings, 0 replies; 5+ messages in thread
From: Hugh Dickins @ 2008-08-02 19:53 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Oliver Pinter, stable, Andrew Morton, linux-kernel
On Sat, 2 Aug 2008, Linus Torvalds wrote:
> On Sat, 2 Aug 2008, Oliver Pinter wrote:
> >
> > [ Upstream commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ]
> >
> > fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
> > mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
>
> Why on earth would this be -stable material?
Of course it isn't -stable material, I don't know what Oliver's on.
Maybe he noticed akpm's "unbreak arm" comment and thought it was
fixing some pre-existing breakage: no, akpm restored swap.h to
fix the arm build. Then after this commit, we had to restore
pagemap.h to fix avr32 and !CONFIG_SWAP builds.
Prime material for -unstable, I'm ashamed to say.
Hugh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC, 2.6.26.2-rc1] exec: remove some includes
2008-08-02 19:45 [RFC, 2.6.26.2-rc1] exec: remove some includes Oliver Pinter
2008-08-02 19:39 ` Linus Torvalds
@ 2008-08-02 19:56 ` Willy Tarreau
2008-08-02 20:03 ` Oliver Pinter
1 sibling, 1 reply; 5+ messages in thread
From: Willy Tarreau @ 2008-08-02 19:56 UTC (permalink / raw)
To: Oliver Pinter
Cc: Hugh Dickins, stable, Andrew Morton, Linus Torvalds, linux-kernel
On Sat, Aug 02, 2008 at 09:45:17PM +0200, Oliver Pinter wrote:
> >From ba92a43dbaee339cf5915ef766d3d3ffbaaf103c Mon Sep 17 00:00:00 2001
> From: Hugh Dickins <hugh@veritas.com>
> Date: Fri, 25 Jul 2008 01:45:43 -0700
> Subject: [PATCH] exec: remove some includes
>
> [ Upstream commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ]
>
> fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
> mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
^^^^^^^
Oliver, this patch apparently fixes nothing, and playing with includes
always causes a risk of regression. Please ensure that only fixes for
real problems are submitted to stable and check stable_kernel_rules.txt
when in doubt.
Willy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFC, 2.6.26.2-rc1] exec: remove some includes
2008-08-02 19:56 ` Willy Tarreau
@ 2008-08-02 20:03 ` Oliver Pinter
0 siblings, 0 replies; 5+ messages in thread
From: Oliver Pinter @ 2008-08-02 20:03 UTC (permalink / raw)
To: Willy Tarreau
Cc: Hugh Dickins, stable, Andrew Morton, Linus Torvalds, linux-kernel
I understood, I do not send patches with a character like this in the
future then, but I send it because of this in RFC
On 8/2/08, Willy Tarreau <w@1wt.eu> wrote:
> On Sat, Aug 02, 2008 at 09:45:17PM +0200, Oliver Pinter wrote:
>> >From ba92a43dbaee339cf5915ef766d3d3ffbaaf103c Mon Sep 17 00:00:00 2001
>> From: Hugh Dickins <hugh@veritas.com>
>> Date: Fri, 25 Jul 2008 01:45:43 -0700
>> Subject: [PATCH] exec: remove some includes
>>
>> [ Upstream commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c ]
>>
>> fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did
>> mm-ish stuff in install_arg_page(); but no need for them after 2.6.22.
> ^^^^^^^
> Oliver, this patch apparently fixes nothing, and playing with includes
> always causes a risk of regression. Please ensure that only fixes for
> real problems are submitted to stable and check stable_kernel_rules.txt
> when in doubt.
>
> Willy
>
>
--
Thanks,
Oliver
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-02 20:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-02 19:45 [RFC, 2.6.26.2-rc1] exec: remove some includes Oliver Pinter
2008-08-02 19:39 ` Linus Torvalds
2008-08-02 19:53 ` Hugh Dickins
2008-08-02 19:56 ` Willy Tarreau
2008-08-02 20:03 ` Oliver Pinter
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.