Skip to contentSkip to conversation

use __GFP_REPEAT in pmd_alloc_one()

PATCH Geert Uytterhoeven 3 participants 3 messages Apr 22, 2003 – Apr 23, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · Linux Kernel Mailing List

ChangeSet 1.1124.1.25, 2003/04/20 14:28:32-07:00, [email protected]

[PATCH] use __GFP_REPEAT in pmd_alloc_one()

Convert all pmd_alloc_one() implementations to use __GFP_REPEAT

If this change was bogus (cfr. Davem's checkin):

arch/sparc/mm/sun4c.c line 2199

Quoted 11 lines

diff -Nru a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c

arch/sparc/mm/sun4c.c +1 -1
@@ -2194,7 +2194,7 @@
 	BTFIXUPSET_CALL(pte_alloc_one_kernel, sun4c_pte_alloc_one_kernel, BTFIXUPCALL_NORM);
 	BTFIXUPSET_CALL(pte_alloc_one, sun4c_pte_alloc_one, BTFIXUPCALL_NORM);
 	BTFIXUPSET_CALL(free_pmd_fast, sun4c_free_pmd_fast, BTFIXUPCALL_NOP);
-	BTFIXUPSET_CALL(pmd_alloc_one, sun4c_pmd_alloc_one, BTFIXUPCALL_RETO0);
+	BTFIXUPSET_CALL(pmd_alloc_one, sun4c_lpmd_alloc_one, BTFIXUPCALL_RETO0);
 	BTFIXUPSET_CALL(free_pgd_fast, sun4c_free_pgd_fast, BTFIXUPCALL_NORM);
 	BTFIXUPSET_CALL(get_pgd_fast, sun4c_get_pgd_fast, BTFIXUPCALL_NORM);

Then this one is bogus, too:

include/asm-m68k/sun3_pgalloc.h line 23

Quoted 11 lines

diff -Nru a/include/asm-m68k/sun3_pgalloc.h b/include/asm-m68k/sun3_pgalloc.h

include/asm-m68k/sun3_pgalloc.h +1 -1
@@ -18,7 +18,7 @@
 
 extern const char bad_pmd_string[];
 
-#define pmd_alloc_one(mm,address)       ({ BUG(); ((pmd_t *)2); })
+#define lpmd_alloc_one(mm,address)       ({ BUG(); ((pmd_t *)2); })
 
 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
Quoted 1 line · Geert Uytterhoeven

If this change was bogus (cfr. Davem's checkin):

...

Quoted 1 line

Then this one is bogus, too:

I don't think so, I believe Andrew was just trying to trap cases he didn't understand.

Signature · 1 line
David S. Miller <[email protected]>
#3 lore raw
Quoted 8 lines · David S. Miller
Quoted 1 line · Geert Uytterhoeven

If this change was bogus (cfr. Davem's checkin):

...

Quoted 1 line

Then this one is bogus, too:

I don't think so, I believe Andrew was just trying to trap cases he didn't understand.

No, it was just a flip of the singers. I typed `l' instead of control-l. It was late. Sorry 'bout that.