- hugetlb-new-sysfs-interface-hugetlb-remove-config_sysfs-dependency.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     hugetlb: remove CONFIG_SYSFS dependency
has been removed from the -mm tree.  Its filename was
     hugetlb-new-sysfs-interface-hugetlb-remove-config_sysfs-dependency.patch

This patch was dropped because it was folded into hugetlb-new-sysfs-interface.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: hugetlb: remove CONFIG_SYSFS dependency
From: Nishanth Aravamudan <nacc@xxxxxxxxxx>

I incorrectly made the hugetlb kobject functionality depend on SYSFS, when, in
fact, the kobject functions fully work even with out sysfs.  Without sysfs,
there is no interface to manipulate the attributes of the various hugetlb
kobjects, but they still exist.

Signed-off-by: Nishanth Aravamudan <nacc@xxxxxxxxxx>
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Cc: Mel Gorman <mel@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/hugetlb.c |    7 -------
 1 file changed, 7 deletions(-)

diff -puN mm/hugetlb.c~hugetlb-new-sysfs-interface-hugetlb-remove-config_sysfs-dependency mm/hugetlb.c
--- a/mm/hugetlb.c~hugetlb-new-sysfs-interface-hugetlb-remove-config_sysfs-dependency
+++ a/mm/hugetlb.c
@@ -1040,7 +1040,6 @@ out:
 	return ret;
 }
 
-#ifdef CONFIG_SYSFS
 #define HSTATE_ATTR_RO(_name) \
 	static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
 
@@ -1192,12 +1191,6 @@ static void __exit hugetlb_exit(void)
 }
 module_exit(hugetlb_exit);
 
-#else
-static void __init hugetlb_sysfs_init(void)
-{
-}
-#endif
-
 static int __init hugetlb_init(void)
 {
 	BUILD_BUG_ON(HPAGE_SHIFT == 0);
_

Patches currently in -mm which might be from nacc@xxxxxxxxxx are

vma-page-offset-has-no-callees-drop-it.patch
mm-remove-mm_init-compilation-dependency-on-config_debug_memory_init.patch
mm-create-sys-kernel-mm.patch
hugetlb-factor-out-prep_new_huge_page.patch
hugetlb-modular-state-for-hugetlb-page-size.patch
hugetlb-multiple-hstates-for-multiple-page-sizes.patch
hugetlbfs-per-mount-huge-page-sizes.patch
hugetlb-new-sysfs-interface.patch
hugetlb-new-sysfs-interface-hugetlb-remove-config_sysfs-dependency.patch
hugetlb-abstract-numa-round-robin-selection.patch
hugetlb-support-boot-allocate-different-sizes.patch
hugetlb-printk-cleanup.patch
fs-check-for-statfs-overflow.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux