diff for duplicates of <20150127161657.GA7155@node.dhcp.inet.fi> diff --git a/a/1.txt b/N1/1.txt index 4233758..cf2805b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -50,47 +50,3 @@ different mm_struct depending on include ordering. Tried to look for options, but don't see anything better than patch below. Andrew, is it okay to you? - ->From 0f113e16a058d47f3bc63a3b6ced5296afb934a6 Mon Sep 17 00:00:00 2001 -From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> -Date: Tue, 27 Jan 2015 17:59:55 +0200 -Subject: [PATCH] mm: add nr_pmds into mm_struct unconditionally - -__PAGETABLE_PMD_FOLDED is defined during <asm/pgtable.h> which is not -included into <linux/mm_types.h>. And we cannot include it here since -many of <asm/pgtables> needs <linux/mm_types.h> to define struct page. - -I failed to come up with better solution rather than put nr_pmds into -mm_struct unconditionally. - -One possible solution would be to expose number of page table levels -architecture has via Kconfig, but that's ugly and requires changes to -all architectures. - -Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> ---- - include/linux/mm_types.h | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h -index 79cdf6f5c746..199a03aab8dc 100644 ---- a/include/linux/mm_types.h -+++ b/include/linux/mm_types.h -@@ -364,9 +364,7 @@ struct mm_struct { - atomic_t mm_users; /* How many users with user space? */ - atomic_t mm_count; /* How many references to "struct mm_struct" (users count as 1) */ - atomic_long_t nr_ptes; /* PTE page table pages */ --#ifndef __PAGETABLE_PMD_FOLDED - atomic_long_t nr_pmds; /* PMD page table pages */ --#endif - int map_count; /* number of VMAs */ - - spinlock_t page_table_lock; /* Protects page tables and some counters */ --- - 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> diff --git a/a/content_digest b/N1/content_digest index 4f672c3..6376e19 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -71,50 +71,6 @@ "different mm_struct depending on include ordering.\n" "\n" "Tried to look for options, but don't see anything better than patch below.\n" - "Andrew, is it okay to you?\n" - "\n" - ">From 0f113e16a058d47f3bc63a3b6ced5296afb934a6 Mon Sep 17 00:00:00 2001\n" - "From: \"Kirill A. Shutemov\" <kirill.shutemov@linux.intel.com>\n" - "Date: Tue, 27 Jan 2015 17:59:55 +0200\n" - "Subject: [PATCH] mm: add nr_pmds into mm_struct unconditionally\n" - "\n" - "__PAGETABLE_PMD_FOLDED is defined during <asm/pgtable.h> which is not\n" - "included into <linux/mm_types.h>. And we cannot include it here since\n" - "many of <asm/pgtables> needs <linux/mm_types.h> to define struct page.\n" - "\n" - "I failed to come up with better solution rather than put nr_pmds into\n" - "mm_struct unconditionally.\n" - "\n" - "One possible solution would be to expose number of page table levels\n" - "architecture has via Kconfig, but that's ugly and requires changes to\n" - "all architectures.\n" - "\n" - "Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\n" - "---\n" - " include/linux/mm_types.h | 2 --\n" - " 1 file changed, 2 deletions(-)\n" - "\n" - "diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h\n" - "index 79cdf6f5c746..199a03aab8dc 100644\n" - "--- a/include/linux/mm_types.h\n" - "+++ b/include/linux/mm_types.h\n" - "@@ -364,9 +364,7 @@ struct mm_struct {\n" - " \tatomic_t mm_users;\t\t\t/* How many users with user space? */\n" - " \tatomic_t mm_count;\t\t\t/* How many references to \"struct mm_struct\" (users count as 1) */\n" - " \tatomic_long_t nr_ptes;\t\t\t/* PTE page table pages */\n" - "-#ifndef __PAGETABLE_PMD_FOLDED\n" - " \tatomic_long_t nr_pmds;\t\t\t/* PMD page table pages */\n" - "-#endif\n" - " \tint map_count;\t\t\t\t/* number of VMAs */\n" - " \n" - " \tspinlock_t page_table_lock;\t\t/* Protects page tables and some counters */\n" - "-- \n" - " Kirill A. Shutemov\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + Andrew, is it okay to you? -628b431703128e4ff5e9dab95efa50d2c26264891d29b39e7158b8863554c75c +40e7f1b2d4a132fb687554157a7955cd68702777eee9be3e0cfcb6c358feb5e2
diff --git a/a/1.txt b/N2/1.txt index 4233758..a045960 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -88,9 +88,3 @@ index 79cdf6f5c746..199a03aab8dc 100644 spinlock_t page_table_lock; /* Protects page tables and some counters */ -- 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> diff --git a/a/content_digest b/N2/content_digest index 4f672c3..83d92e1 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -109,12 +109,6 @@ " \n" " \tspinlock_t page_table_lock;\t\t/* Protects page tables and some counters */\n" "-- \n" - " Kirill A. Shutemov\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + Kirill A. Shutemov -628b431703128e4ff5e9dab95efa50d2c26264891d29b39e7158b8863554c75c +c78be3f460327c82251004542b0a0da2d78e64e7874d7469bf4a052c95540527
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.