* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 21:19 ` Guenter Roeck
0 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 21:19 UTC (permalink / raw)
To: Kirill A. Shutemov
Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 11:16:47PM +0200, Kirill A. Shutemov wrote:
>
> Fixlet for AVR32:
>
> diff --git a/arch/avr32/include/asm/pgtable.h b/arch/avr32/include/asm/pgtable.h
> index 35800664076e..3af39532b25b 100644
Also applied.
Guenter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 21:19 ` Guenter Roeck
0 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 21:19 UTC (permalink / raw)
To: Kirill A. Shutemov
Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 11:16:47PM +0200, Kirill A. Shutemov wrote:
>
> Fixlet for AVR32:
>
> diff --git a/arch/avr32/include/asm/pgtable.h b/arch/avr32/include/asm/pgtable.h
> index 35800664076e..3af39532b25b 100644
Also applied.
Guenter
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
2015-01-28 20:45 ` Kirill A. Shutemov
@ 2015-01-28 21:18 ` Guenter Roeck
-1 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 21:18 UTC (permalink / raw)
To: Kirill A. Shutemov
Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:45:44PM +0200, Kirill A. Shutemov wrote:
[ ... ]
> Could you try this for arm?
>
> diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
> index f40354198bad..bb4ae035e5e3 100644
Applied. Test will take a couple of hours to complete since
the testbed is busy right now. You can check the status anytime
at http://server.roeck-us.net:8010/builders.
Guenter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 21:18 ` Guenter Roeck
0 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 21:18 UTC (permalink / raw)
To: Kirill A. Shutemov
Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:45:44PM +0200, Kirill A. Shutemov wrote:
[ ... ]
> Could you try this for arm?
>
> diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
> index f40354198bad..bb4ae035e5e3 100644
Applied. Test will take a couple of hours to complete since
the testbed is busy right now. You can check the status anytime
at http://server.roeck-us.net:8010/builders.
Guenter
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
2015-01-28 18:50 ` Guenter Roeck
@ 2015-01-28 21:16 ` Kirill A. Shutemov
-1 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 21:16 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:50:52AM -0800, Guenter Roeck wrote:
> On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> > This patchset moves definition of mm_struct into separate header file.
> > It allows to get rid of nr_pmds if PMD page table level is folded.
> > We cannot do it with current mm_types.h because we need
> > __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> > dependencies.
> >
> > I've done few build tests and looks like it works, but I expect breakage
> > on some configuration. Please test.
> >
> Doesn't look good.
>
> Build results:
> total: 134 pass: 63 fail: 71
> Failed builds:
> avr32:defconfig
> avr32:merisc_defconfig
> avr32:atngw100mkii_evklcd101_defconfig
Fixlet for AVR32:
diff --git a/arch/avr32/include/asm/pgtable.h b/arch/avr32/include/asm/pgtable.h
index 35800664076e..3af39532b25b 100644
--- a/arch/avr32/include/asm/pgtable.h
+++ b/arch/avr32/include/asm/pgtable.h
@@ -10,11 +10,6 @@
#include <asm/addrspace.h>
-#ifndef __ASSEMBLY__
-#include <linux/sched.h>
-
-#endif /* !__ASSEMBLY__ */
-
/*
* Use two-level page tables just as the i386 (without PAE)
*/
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c
index 0da23109f817..964130f8f89d 100644
--- a/arch/avr32/mm/tlb.c
+++ b/arch/avr32/mm/tlb.c
@@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
#include <linux/mm.h>
+#include <linux/sched.h>
#include <asm/mmu_context.h>
--
Kirill A. Shutemov
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 21:16 ` Kirill A. Shutemov
0 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 21:16 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:50:52AM -0800, Guenter Roeck wrote:
> On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> > This patchset moves definition of mm_struct into separate header file.
> > It allows to get rid of nr_pmds if PMD page table level is folded.
> > We cannot do it with current mm_types.h because we need
> > __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> > dependencies.
> >
> > I've done few build tests and looks like it works, but I expect breakage
> > on some configuration. Please test.
> >
> Doesn't look good.
>
> Build results:
> total: 134 pass: 63 fail: 71
> Failed builds:
> avr32:defconfig
> avr32:merisc_defconfig
> avr32:atngw100mkii_evklcd101_defconfig
Fixlet for AVR32:
diff --git a/arch/avr32/include/asm/pgtable.h b/arch/avr32/include/asm/pgtable.h
index 35800664076e..3af39532b25b 100644
--- a/arch/avr32/include/asm/pgtable.h
+++ b/arch/avr32/include/asm/pgtable.h
@@ -10,11 +10,6 @@
#include <asm/addrspace.h>
-#ifndef __ASSEMBLY__
-#include <linux/sched.h>
-
-#endif /* !__ASSEMBLY__ */
-
/*
* Use two-level page tables just as the i386 (without PAE)
*/
diff --git a/arch/avr32/mm/tlb.c b/arch/avr32/mm/tlb.c
index 0da23109f817..964130f8f89d 100644
--- a/arch/avr32/mm/tlb.c
+++ b/arch/avr32/mm/tlb.c
@@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
#include <linux/mm.h>
+#include <linux/sched.h>
#include <asm/mmu_context.h>
--
Kirill A. Shutemov
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
2015-01-28 18:50 ` Guenter Roeck
@ 2015-01-28 20:45 ` Kirill A. Shutemov
-1 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 20:45 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:50:52AM -0800, Guenter Roeck wrote:
> On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> > This patchset moves definition of mm_struct into separate header file.
> > It allows to get rid of nr_pmds if PMD page table level is folded.
> > We cannot do it with current mm_types.h because we need
> > __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> > dependencies.
> >
> > I've done few build tests and looks like it works, but I expect breakage
> > on some configuration. Please test.
> >
> Doesn't look good.
>
> Build results:
> total: 134 pass: 63 fail: 71
> Failed builds:
> arm:s3c2410_defconfig
> arm:omap2plus_defconfig
> arm:imx_v6_v7_defconfig
> arm:ixp4xx_defconfig
> arm:u8500_defconfig
> arm:multi_v5_defconfig
> arm:multi_v7_defconfig
> arm:omap1_defconfig
> arm:footbridge_defconfig
> arm:davinci_all_defconfig
> arm:mini2440_defconfig
> arm:rpc_defconfig
> arm:axm55xx_defconfig
> arm:mxs_defconfig
> arm:keystone_defconfig
> arm:vexpress_defconfig
> arm:imx_v4_v5_defconfig
> arm:at91_dt_defconfig
> arm:s3c6400_defconfig
> arm:lpc32xx_defconfig
> arm:shmobile_defconfig
> arm:nhk8815_defconfig
> arm:bcm2835_defconfig
> arm:sama5_defconfig
> arm:orion5x_defconfig
> arm:exynos_defconfig
> arm:cm_x2xx_defconfig
> arm:s5pv210_defconfig
> arm:integrator_defconfig
> arm:msm_defconfig
> arm:pxa910_defconfig
> arm:clps711x_defconfig
Could you try this for arm?
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index f40354198bad..bb4ae035e5e3 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -24,9 +24,6 @@
#include <asm/memory.h>
#include <asm/pgtable-hwdef.h>
-
-#include <asm/tlbflush.h>
-
#ifdef CONFIG_ARM_LPAE
#include <asm/pgtable-3level.h>
#else
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h
index ce727d47275c..b5e764e0d5a8 100644
--- a/arch/arm/mm/mm.h
+++ b/arch/arm/mm/mm.h
@@ -3,6 +3,7 @@
#include <linux/vmalloc.h>
#include <asm/pgtable.h>
+#include <asm/tlbflush.h>
/* the upper-most page table pointer */
extern pmd_t *top_pmd;
--
Kirill A. Shutemov
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 20:45 ` Kirill A. Shutemov
0 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 20:45 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Kirill A. Shutemov, Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 10:50:52AM -0800, Guenter Roeck wrote:
> On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> > This patchset moves definition of mm_struct into separate header file.
> > It allows to get rid of nr_pmds if PMD page table level is folded.
> > We cannot do it with current mm_types.h because we need
> > __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> > dependencies.
> >
> > I've done few build tests and looks like it works, but I expect breakage
> > on some configuration. Please test.
> >
> Doesn't look good.
>
> Build results:
> total: 134 pass: 63 fail: 71
> Failed builds:
> arm:s3c2410_defconfig
> arm:omap2plus_defconfig
> arm:imx_v6_v7_defconfig
> arm:ixp4xx_defconfig
> arm:u8500_defconfig
> arm:multi_v5_defconfig
> arm:multi_v7_defconfig
> arm:omap1_defconfig
> arm:footbridge_defconfig
> arm:davinci_all_defconfig
> arm:mini2440_defconfig
> arm:rpc_defconfig
> arm:axm55xx_defconfig
> arm:mxs_defconfig
> arm:keystone_defconfig
> arm:vexpress_defconfig
> arm:imx_v4_v5_defconfig
> arm:at91_dt_defconfig
> arm:s3c6400_defconfig
> arm:lpc32xx_defconfig
> arm:shmobile_defconfig
> arm:nhk8815_defconfig
> arm:bcm2835_defconfig
> arm:sama5_defconfig
> arm:orion5x_defconfig
> arm:exynos_defconfig
> arm:cm_x2xx_defconfig
> arm:s5pv210_defconfig
> arm:integrator_defconfig
> arm:msm_defconfig
> arm:pxa910_defconfig
> arm:clps711x_defconfig
Could you try this for arm?
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index f40354198bad..bb4ae035e5e3 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -24,9 +24,6 @@
#include <asm/memory.h>
#include <asm/pgtable-hwdef.h>
-
-#include <asm/tlbflush.h>
-
#ifdef CONFIG_ARM_LPAE
#include <asm/pgtable-3level.h>
#else
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h
index ce727d47275c..b5e764e0d5a8 100644
--- a/arch/arm/mm/mm.h
+++ b/arch/arm/mm/mm.h
@@ -3,6 +3,7 @@
#include <linux/vmalloc.h>
#include <asm/pgtable.h>
+#include <asm/tlbflush.h>
/* the upper-most page table pointer */
extern pmd_t *top_pmd;
--
Kirill A. Shutemov
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
2015-01-28 13:17 ` Kirill A. Shutemov
@ 2015-01-28 18:50 ` Guenter Roeck
-1 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 18:50 UTC (permalink / raw)
To: Kirill A. Shutemov; +Cc: Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> This patchset moves definition of mm_struct into separate header file.
> It allows to get rid of nr_pmds if PMD page table level is folded.
> We cannot do it with current mm_types.h because we need
> __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> dependencies.
>
> I've done few build tests and looks like it works, but I expect breakage
> on some configuration. Please test.
>
Doesn't look good.
Build results:
total: 134 pass: 63 fail: 71
Failed builds:
arm:s3c2410_defconfig
arm:omap2plus_defconfig
arm:imx_v6_v7_defconfig
arm:ixp4xx_defconfig
arm:u8500_defconfig
arm:multi_v5_defconfig
arm:multi_v7_defconfig
arm:omap1_defconfig
arm:footbridge_defconfig
arm:davinci_all_defconfig
arm:mini2440_defconfig
arm:rpc_defconfig
arm:axm55xx_defconfig
arm:mxs_defconfig
arm:keystone_defconfig
arm:vexpress_defconfig
arm:imx_v4_v5_defconfig
arm:at91_dt_defconfig
arm:s3c6400_defconfig
arm:lpc32xx_defconfig
arm:shmobile_defconfig
arm:nhk8815_defconfig
arm:bcm2835_defconfig
arm:sama5_defconfig
arm:orion5x_defconfig
arm:exynos_defconfig
arm:cm_x2xx_defconfig
arm:s5pv210_defconfig
arm:integrator_defconfig
arm:msm_defconfig
arm:pxa910_defconfig
arm:clps711x_defconfig
avr32:defconfig
avr32:merisc_defconfig
avr32:atngw100mkii_evklcd101_defconfig
cris:defconfig
cris:etrax-100lx_defconfig
cris:allnoconfig
cris:artpec_3_defconfig
cris:etraxfs_defconfig
frv:defconfig
hexagon:defconfig
ia64:defconfig
m68k:defconfig
m68k:allmodconfig
m68k:sun3_defconfig
m68k:m5475evb_defconfig
microblaze:mmu_defconfig
mips:allmodconfig
powerpc:ppc6xx_defconfig
powerpc:mpc83xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
powerpc:tqm8xx_defconfig
powerpc:85xx/sbc8548_defconfig
powerpc:83xx/mpc834x_mds_defconfig
powerpc:86xx/sbc8641d_defconfig
powerpc:ppc6xx_defconfig
powerpc:mpc83xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
powerpc:tqm8xx_defconfig
powerpc:85xx/sbc8548_defconfig
powerpc:83xx/mpc834x_mds_defconfig
powerpc:86xx/sbc8641d_defconfig
s390:defconfig
sparc32:defconfig
sparc64:defconfig
sparc64:allmodconfig
unicore32:defconfig
xtensa:allmodconfig
Qemu tests:
total: 30 pass: 20 fail: 10
Failed tests:
arm:arm_versatile_defconfig
arm:arm_vexpress_defconfig
microblaze:microblaze_defconfig
microblaze:microblazeel_defconfig
powerpc:ppc_book3s_defconfig
powerpc:ppc_book3s_smp_defconfig
sparc32:sparc_defconfig
sparc32:sparc_smp_defconfig
sparc64:sparc_smp_defconfig
sparc64:sparc_nosmp_defconfig
A few of those are other problems, but the majority is due to your patches.
Details are available at http://server.roeck-us.net:8010/builders;
look for the 'testing' column.
Guenter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 18:50 ` Guenter Roeck
0 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 18:50 UTC (permalink / raw)
To: Kirill A. Shutemov; +Cc: Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> This patchset moves definition of mm_struct into separate header file.
> It allows to get rid of nr_pmds if PMD page table level is folded.
> We cannot do it with current mm_types.h because we need
> __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> dependencies.
>
> I've done few build tests and looks like it works, but I expect breakage
> on some configuration. Please test.
>
Doesn't look good.
Build results:
total: 134 pass: 63 fail: 71
Failed builds:
arm:s3c2410_defconfig
arm:omap2plus_defconfig
arm:imx_v6_v7_defconfig
arm:ixp4xx_defconfig
arm:u8500_defconfig
arm:multi_v5_defconfig
arm:multi_v7_defconfig
arm:omap1_defconfig
arm:footbridge_defconfig
arm:davinci_all_defconfig
arm:mini2440_defconfig
arm:rpc_defconfig
arm:axm55xx_defconfig
arm:mxs_defconfig
arm:keystone_defconfig
arm:vexpress_defconfig
arm:imx_v4_v5_defconfig
arm:at91_dt_defconfig
arm:s3c6400_defconfig
arm:lpc32xx_defconfig
arm:shmobile_defconfig
arm:nhk8815_defconfig
arm:bcm2835_defconfig
arm:sama5_defconfig
arm:orion5x_defconfig
arm:exynos_defconfig
arm:cm_x2xx_defconfig
arm:s5pv210_defconfig
arm:integrator_defconfig
arm:msm_defconfig
arm:pxa910_defconfig
arm:clps711x_defconfig
avr32:defconfig
avr32:merisc_defconfig
avr32:atngw100mkii_evklcd101_defconfig
cris:defconfig
cris:etrax-100lx_defconfig
cris:allnoconfig
cris:artpec_3_defconfig
cris:etraxfs_defconfig
frv:defconfig
hexagon:defconfig
ia64:defconfig
m68k:defconfig
m68k:allmodconfig
m68k:sun3_defconfig
m68k:m5475evb_defconfig
microblaze:mmu_defconfig
mips:allmodconfig
powerpc:ppc6xx_defconfig
powerpc:mpc83xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
powerpc:tqm8xx_defconfig
powerpc:85xx/sbc8548_defconfig
powerpc:83xx/mpc834x_mds_defconfig
powerpc:86xx/sbc8641d_defconfig
powerpc:ppc6xx_defconfig
powerpc:mpc83xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
powerpc:tqm8xx_defconfig
powerpc:85xx/sbc8548_defconfig
powerpc:83xx/mpc834x_mds_defconfig
powerpc:86xx/sbc8641d_defconfig
s390:defconfig
sparc32:defconfig
sparc64:defconfig
sparc64:allmodconfig
unicore32:defconfig
xtensa:allmodconfig
Qemu tests:
total: 30 pass: 20 fail: 10
Failed tests:
arm:arm_versatile_defconfig
arm:arm_vexpress_defconfig
microblaze:microblaze_defconfig
microblaze:microblazeel_defconfig
powerpc:ppc_book3s_defconfig
powerpc:ppc_book3s_smp_defconfig
sparc32:sparc_defconfig
sparc32:sparc_smp_defconfig
sparc64:sparc_smp_defconfig
sparc64:sparc_nosmp_defconfig
A few of those are other problems, but the majority is due to your patches.
Details are available at http://server.roeck-us.net:8010/builders;
look for the 'testing' column.
Guenter
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
2015-01-28 13:17 ` Kirill A. Shutemov
@ 2015-01-28 17:06 ` Guenter Roeck
-1 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 17:06 UTC (permalink / raw)
To: Kirill A. Shutemov; +Cc: Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> This patchset moves definition of mm_struct into separate header file.
> It allows to get rid of nr_pmds if PMD page table level is folded.
> We cannot do it with current mm_types.h because we need
> __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> dependencies.
>
> I've done few build tests and looks like it works, but I expect breakage
> on some configuration. Please test.
>
I applied your patches on top of the current mmotm and pushed into
my 'testing' branch. I'll send out test results after the test cycle
is complete.
Guenter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 17:06 ` Guenter Roeck
0 siblings, 0 replies; 14+ messages in thread
From: Guenter Roeck @ 2015-01-28 17:06 UTC (permalink / raw)
To: Kirill A. Shutemov; +Cc: Andrew Morton, linux-mm, linux-kernel
On Wed, Jan 28, 2015 at 03:17:40PM +0200, Kirill A. Shutemov wrote:
> This patchset moves definition of mm_struct into separate header file.
> It allows to get rid of nr_pmds if PMD page table level is folded.
> We cannot do it with current mm_types.h because we need
> __PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
> dependencies.
>
> I've done few build tests and looks like it works, but I expect breakage
> on some configuration. Please test.
>
I applied your patches on top of the current mmotm and pushed into
my 'testing' branch. I'll send out test results after the test cycle
is complete.
Guenter
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 13:17 ` Kirill A. Shutemov
0 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 13:17 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel, Guenter Roeck, Kirill A. Shutemov
This patchset moves definition of mm_struct into separate header file.
It allows to get rid of nr_pmds if PMD page table level is folded.
We cannot do it with current mm_types.h because we need
__PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
dependencies.
I've done few build tests and looks like it works, but I expect breakage
on some configuration. Please test.
I hope one day we would rely on LTO for inlining instead of this header
mess :-/
Kirill A. Shutemov (4):
mm: move enum tlb_flush_reason into <trace/events/tlb.h>
mm: split up mm_struct to separate header file
mm: define __PAGETABLE_{PMD,PUD}_FOLDED to zero or one
mm: do not add nr_pmds into mm_struct if PMD is folded
arch/arm/include/asm/pgtable-2level.h | 2 +-
arch/arm64/include/asm/kvm_mmu.h | 4 +-
arch/arm64/kernel/efi.c | 1 +
arch/arm64/mm/hugetlbpage.c | 6 +-
arch/c6x/kernel/dma.c | 1 -
arch/microblaze/include/asm/pgtable.h | 2 +-
arch/mips/include/asm/pgalloc.h | 4 +-
arch/mips/kernel/asm-offsets.c | 4 +-
arch/mips/mm/init.c | 2 +-
arch/mips/mm/pgtable-64.c | 6 +-
arch/mips/mm/tlbex.c | 8 +-
arch/powerpc/mm/pgtable_64.c | 2 +-
arch/s390/include/asm/pgtable.h | 1 +
arch/sh/mm/init.c | 2 +-
arch/tile/mm/hugetlbpage.c | 4 +-
arch/tile/mm/pgtable.c | 4 +-
arch/x86/include/asm/mmu_context.h | 1 +
arch/x86/include/asm/pgtable.h | 15 +--
arch/x86/include/asm/xen/page.h | 2 +-
drivers/iommu/amd_iommu_v2.c | 1 +
drivers/staging/android/ion/ion.c | 1 -
include/asm-generic/4level-fixup.h | 2 +-
include/asm-generic/pgtable-nopmd.h | 2 +-
include/asm-generic/pgtable-nopud.h | 2 +-
include/asm-generic/pgtable.h | 8 ++
include/linux/mm.h | 5 +-
include/linux/mm_struct.h | 217 ++++++++++++++++++++++++++++++++
include/linux/mm_types.h | 226 ++--------------------------------
include/linux/mmu_notifier.h | 1 +
include/linux/sched.h | 1 +
include/trace/events/tlb.h | 15 ++-
kernel/fork.c | 2 +-
mm/init-mm.c | 1 +
mm/kmemcheck.c | 1 -
mm/memory.c | 4 +-
35 files changed, 289 insertions(+), 271 deletions(-)
create mode 100644 include/linux/mm_struct.h
--
2.1.4
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 0/4] Introduce <linux/mm_struct.h>
@ 2015-01-28 13:17 ` Kirill A. Shutemov
0 siblings, 0 replies; 14+ messages in thread
From: Kirill A. Shutemov @ 2015-01-28 13:17 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel, Guenter Roeck, Kirill A. Shutemov
This patchset moves definition of mm_struct into separate header file.
It allows to get rid of nr_pmds if PMD page table level is folded.
We cannot do it with current mm_types.h because we need
__PAGETABLE_PMD_FOLDED from <asm/pgtable.h> which creates circular
dependencies.
I've done few build tests and looks like it works, but I expect breakage
on some configuration. Please test.
I hope one day we would rely on LTO for inlining instead of this header
mess :-/
Kirill A. Shutemov (4):
mm: move enum tlb_flush_reason into <trace/events/tlb.h>
mm: split up mm_struct to separate header file
mm: define __PAGETABLE_{PMD,PUD}_FOLDED to zero or one
mm: do not add nr_pmds into mm_struct if PMD is folded
arch/arm/include/asm/pgtable-2level.h | 2 +-
arch/arm64/include/asm/kvm_mmu.h | 4 +-
arch/arm64/kernel/efi.c | 1 +
arch/arm64/mm/hugetlbpage.c | 6 +-
arch/c6x/kernel/dma.c | 1 -
arch/microblaze/include/asm/pgtable.h | 2 +-
arch/mips/include/asm/pgalloc.h | 4 +-
arch/mips/kernel/asm-offsets.c | 4 +-
arch/mips/mm/init.c | 2 +-
arch/mips/mm/pgtable-64.c | 6 +-
arch/mips/mm/tlbex.c | 8 +-
arch/powerpc/mm/pgtable_64.c | 2 +-
arch/s390/include/asm/pgtable.h | 1 +
arch/sh/mm/init.c | 2 +-
arch/tile/mm/hugetlbpage.c | 4 +-
arch/tile/mm/pgtable.c | 4 +-
arch/x86/include/asm/mmu_context.h | 1 +
arch/x86/include/asm/pgtable.h | 15 +--
arch/x86/include/asm/xen/page.h | 2 +-
drivers/iommu/amd_iommu_v2.c | 1 +
drivers/staging/android/ion/ion.c | 1 -
include/asm-generic/4level-fixup.h | 2 +-
include/asm-generic/pgtable-nopmd.h | 2 +-
include/asm-generic/pgtable-nopud.h | 2 +-
include/asm-generic/pgtable.h | 8 ++
include/linux/mm.h | 5 +-
include/linux/mm_struct.h | 217 ++++++++++++++++++++++++++++++++
include/linux/mm_types.h | 226 ++--------------------------------
include/linux/mmu_notifier.h | 1 +
include/linux/sched.h | 1 +
include/trace/events/tlb.h | 15 ++-
kernel/fork.c | 2 +-
mm/init-mm.c | 1 +
mm/kmemcheck.c | 1 -
mm/memory.c | 4 +-
35 files changed, 289 insertions(+), 271 deletions(-)
create mode 100644 include/linux/mm_struct.h
--
2.1.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-01-29 2:08 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 21:19 [PATCH 0/4] Introduce <linux/mm_struct.h> Guenter Roeck
2015-01-28 21:19 ` Guenter Roeck
-- strict thread matches above, loose matches on Subject: below --
2015-01-28 13:17 Kirill A. Shutemov
2015-01-28 13:17 ` Kirill A. Shutemov
2015-01-28 17:06 ` Guenter Roeck
2015-01-28 17:06 ` Guenter Roeck
2015-01-28 18:50 ` Guenter Roeck
2015-01-28 18:50 ` Guenter Roeck
2015-01-28 20:45 ` Kirill A. Shutemov
2015-01-28 20:45 ` Kirill A. Shutemov
2015-01-28 21:18 ` Guenter Roeck
2015-01-28 21:18 ` Guenter Roeck
2015-01-28 21:16 ` Kirill A. Shutemov
2015-01-28 21:16 ` Kirill A. Shutemov
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.