* [PATCH] slub: don't export static kmem_cache_open
@ 2007-07-05 9:37 Johannes Berg
2007-07-06 17:29 ` Christoph Lameter
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2007-07-05 9:37 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Linux Kernel list
kmem_cache_open is static so shouldn't be exported.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
mm/slub.c | 1 -
1 file changed, 1 deletion(-)
--- wireless-dev.orig/mm/slub.c 2007-07-05 11:35:51.555640003 +0200
+++ wireless-dev/mm/slub.c 2007-07-05 11:36:03.895640003 +0200
@@ -2016,7 +2016,6 @@ error:
s->offset, flags);
return 0;
}
-EXPORT_SYMBOL(kmem_cache_open);
/*
* Check if a given pointer is valid
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-05 9:37 [PATCH] slub: don't export static kmem_cache_open Johannes Berg
@ 2007-07-06 17:29 ` Christoph Lameter
2007-07-06 17:35 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Lameter @ 2007-07-06 17:29 UTC (permalink / raw)
To: Johannes Berg; +Cc: Linux Kernel list
On Thu, 5 Jul 2007, Johannes Berg wrote:
> kmem_cache_open is static so shouldn't be exported.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
I already fixed that. Patch is in Andrew's tree.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 17:29 ` Christoph Lameter
@ 2007-07-06 17:35 ` Johannes Berg
2007-07-06 17:55 ` Christoph Lameter
2007-07-06 20:57 ` Bret Towe
0 siblings, 2 replies; 8+ messages in thread
From: Johannes Berg @ 2007-07-06 17:35 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Linux Kernel list
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
On Fri, 2007-07-06 at 10:29 -0700, Christoph Lameter wrote:
> On Thu, 5 Jul 2007, Johannes Berg wrote:
>
> > kmem_cache_open is static so shouldn't be exported.
> >
> > Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
>
> I already fixed that. Patch is in Andrew's tree.
Oh good. I actually got build problems from that due to a powerpc64 gcc
bug so... :)
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 17:35 ` Johannes Berg
@ 2007-07-06 17:55 ` Christoph Lameter
2007-07-06 18:05 ` Johannes Berg
2007-07-06 20:57 ` Bret Towe
1 sibling, 1 reply; 8+ messages in thread
From: Christoph Lameter @ 2007-07-06 17:55 UTC (permalink / raw)
To: Johannes Berg; +Cc: Linux Kernel list, akpm
On Fri, 6 Jul 2007, Johannes Berg wrote:
> > I already fixed that. Patch is in Andrew's tree.
>
> Oh good. I actually got build problems from that due to a powerpc64 gcc
> bug so... :)
Well in that case we may have to push the patch into 2.6.22 or stable.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 17:55 ` Christoph Lameter
@ 2007-07-06 18:05 ` Johannes Berg
0 siblings, 0 replies; 8+ messages in thread
From: Johannes Berg @ 2007-07-06 18:05 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Linux Kernel list, akpm
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
On Fri, 2007-07-06 at 10:55 -0700, Christoph Lameter wrote:
> On Fri, 6 Jul 2007, Johannes Berg wrote:
>
> > > I already fixed that. Patch is in Andrew's tree.
> >
> > Oh good. I actually got build problems from that due to a powerpc64 gcc
> > bug so... :)
>
> Well in that case we may have to push the patch into 2.6.22 or stable.
Dunno. I had three such errors and have sent patches for all of them,
DaveM just accepted one, Paulus hasn't said anything yet and this was
the third. Olaf said the GCC PR is http://gcc.gnu.org/PR31490 and it
seems to fit.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 17:35 ` Johannes Berg
2007-07-06 17:55 ` Christoph Lameter
@ 2007-07-06 20:57 ` Bret Towe
2007-07-06 22:31 ` Johannes Berg
1 sibling, 1 reply; 8+ messages in thread
From: Bret Towe @ 2007-07-06 20:57 UTC (permalink / raw)
To: Johannes Berg; +Cc: Christoph Lameter, Linux Kernel list
On 7/6/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Fri, 2007-07-06 at 10:29 -0700, Christoph Lameter wrote:
> > On Thu, 5 Jul 2007, Johannes Berg wrote:
> >
> > > kmem_cache_open is static so shouldn't be exported.
> > >
> > > Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> >
> > I already fixed that. Patch is in Andrew's tree.
>
> Oh good. I actually got build problems from that due to a powerpc64 gcc
> bug so... :)
>
> johannes
>
>
this also looks to solve booting issue on a g4 mac mini also
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 20:57 ` Bret Towe
@ 2007-07-06 22:31 ` Johannes Berg
2007-07-07 0:26 ` Bret Towe
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2007-07-06 22:31 UTC (permalink / raw)
To: Bret Towe; +Cc: Christoph Lameter, Linux Kernel list
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
On Fri, 2007-07-06 at 13:57 -0700, Bret Towe wrote:
> On 7/6/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> > Oh good. I actually got build problems from that due to a powerpc64 gcc
> > bug so... :)
> this also looks to solve booting issue on a g4 mac mini also
Huh? That doesn't really make sense, but who knows what else that gcc
problem caused.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] slub: don't export static kmem_cache_open
2007-07-06 22:31 ` Johannes Berg
@ 2007-07-07 0:26 ` Bret Towe
0 siblings, 0 replies; 8+ messages in thread
From: Bret Towe @ 2007-07-07 0:26 UTC (permalink / raw)
To: Johannes Berg; +Cc: Christoph Lameter, Linux Kernel list
On 7/6/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> On Fri, 2007-07-06 at 13:57 -0700, Bret Towe wrote:
> > On 7/6/07, Johannes Berg <johannes@sipsolutions.net> wrote:
>
> > > Oh good. I actually got build problems from that due to a powerpc64 gcc
> > > bug so... :)
>
> > this also looks to solve booting issue on a g4 mac mini also
>
> Huh? That doesn't really make sense, but who knows what else that gcc
> problem caused.
>
> johannes
>
>
if you want I can revert the patch and make sure thats what caused it
as when i applied this i also updated from cfs v18 to v19
but v18 was working fine before on rc7 i only updated to current -git
way I saw it was
-rc7-cfs-v18 working
-rc7-git-cfs-v18 broken booting with slub
-rc7-git-cfs-v19 working with slub with this patch
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-07-07 0:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-05 9:37 [PATCH] slub: don't export static kmem_cache_open Johannes Berg
2007-07-06 17:29 ` Christoph Lameter
2007-07-06 17:35 ` Johannes Berg
2007-07-06 17:55 ` Christoph Lameter
2007-07-06 18:05 ` Johannes Berg
2007-07-06 20:57 ` Bret Towe
2007-07-06 22:31 ` Johannes Berg
2007-07-07 0:26 ` Bret Towe
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®