|
|
|
Re: [PATCH] mm: clean up __count_immobile_pages | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
On 06/12/2012 06:40 AM, Andrew Morton wrote: > On Mon, 11 Jun 2012 11:07:22 +0900 > Minchan Kim <minchan@xxxxxxxxxx> wrote: > >> __count_immobile_pages naming is rather awkward. >> This patch clean up the function and add comment. > > This conflicts with > mm-compaction-handle-incorrect-migrate_unmovable-type-pageblocks.patch > and its fixes. I wanted to revert [1] and friends and merge again based on [2] and this patch. Because [1] has still bug I explained in [2]. If it is merged without [2], it simply can spread bug from one place(memory hotplug) to two place(memory hotplug and compaction). We discussed real effectiveness of [1] because the patch is rather complicated than expectation. I don't want to add unnecessary maintain cost if it doesn't have proved benefit. KOSAKI and me : doesn't want to merge without proving (https://lkml.org/lkml/2012/6/5/3) Mel: Pass the decision to CMA guys (https://lkml.org/lkml/2012/6/11/242) Rik: want to test it based on THP alloc ratio (https://lkml.org/lkml/2012/6/11/293) I guess anyone has no sure for needing it, at least. Even, [1] added new vmstat "compact_rescued_unmovable_blocks". Why I firstly suggest is just for the proving the effectiveness easily and wanted to revert the vmstat later before merging mainline if we prove it. (But it seems that KOSAKI doesn't like it - https://lkml.org/lkml/2012/6/5/282) But now Bartlomiej want to maintain it permanently in vmstat. IMHO, it's not a good idea. Anyway, adding new vmstat part should be careful and get a agreement from mm guys. [1] mm-compaction-handle-incorrect-migrate_unmovable-type-pageblocks.patch [2] [PATCH] mm: do not use page_count without a page pin > >> + * This function can race in PageLRU and MIGRATE_MOVABLE can have unmovable >> + * pages so that it might be not exact. > > I don't understand this. Functions race against other functions, not > against a page flag. Can we have another attempt at this description You're right. I meant page flags. > please? Before that, I would like to clear out how you handle this patch dependencies. What should I do? Any tree and any patchset based on for the work? > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@xxxxxxxxx. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a> > -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[Other Archives] [Linux Kernel Newbies] [Linux Driver Development] [Fedora Kernel] [Linux Kernel Testers] [Linux SH] [Linux Omap] [Linux Kbuild] [Linux Tape] [Linux Input] [Linux Kernel Janitors] [Linux Kernel Packagers] [Linux Doc] [Linux Man Pages] [Linux API] [Linux Memory Management] [Linux Modules] [Linux Standards] [Kernel Announce] [Netdev] [Git] [Linux PCI] Linux CAN Development [Linux I2C] [Linux RDMA] [Linux NUMA] [Netfilter] [Netfilter Devel] [SELinux] [Bugtraq] [FIO] [Linux Perf Users] [Linux Serial] [Linux PPP] [Linux ISDN] [Linux Next] [Kernel Stable Commits] [Linux Tip Commits] [Kernel MM Commits] [Linux Security Module] [AutoFS] [Filesystem Development] [Ext3 Filesystem] [Linux bcache] [Ext4 Filesystem] [Linux BTRFS] [Linux CEPH Filesystem] [Linux XFS] [XFS] [Linux NFS] [Linux CIFS] [Ecryptfs] [Linux NILFS] [Linux Cachefs] [Reiser FS] [Initramfs] [Linux FB Devel] [Linux OpenGL] [DRI Devel] [Fastboot] [Linux RT Users] [Linux RT Stable] [eCos] [Corosync] [Linux Clusters] [LVS Devel] [Hot Plug] [Linux Virtualization] [KVM] [KVM PPC] [KVM ia64] [Linux Containers] [Linux Hexagon] [Linux Cgroups] [Util Linux] [Wireless] [Linux Bluetooth] [Bluez Devel] [Ethernet Bridging] [Embedded Linux] [Barebox] [Linux MMC] [Linux IIO] [Sparse] [Smatch] [Linux Arch] [x86 Platform Driver] [Linux ACPI] [Linux IBM ACPI] [LM Sensors] [CPU Freq] [Linux Power Management] [Linmodems] [Linux DCCP] [Linux SCTP] [ALSA Devel] [Linux USB] [Linux PA RISC] [Linux Samsung SOC] [MIPS Linux] [IBM S/390 Linux] [ARM Linux] [ARM Kernel] [ARM MSM] [Tegra Devel] [Sparc Linux] [Linux Security] [Linux Sound] [Linux Media] [Video 4 Linux] [Linux IRDA Users] [Linux for the blind] [Linux RAID] [Linux ATA RAID] [Device Mapper] [Linux SCSI] [SCSI Target Devel] [Linux SCSI Target Infrastructure] [Linux IDE] [Linux SMP] [Linux AXP] [Linux Alpha] [Linux M68K] [Linux ia64] [Linux 8086] [Linux x86_64] [Linux Config] [Linux Apps] [Linux MSDOS] [Linux X.25] [Linux Crypto] [DM Crypt] [Linux Trace Users] [Linux Btrace] [Linux Watchdog] [Utrace Devel] [Linux C Programming] [Linux Assembly] [Dash] [DWARVES] [Hail Devel] [Linux Kernel Debugger] [Linux gcc] [Gcc Help] [X.Org] [Wine]
![]() |
![]() |
[Older Kernel Discussion] [Yosemite National Park Forum] [Large Format Photos] [Gimp] [Yosemite Photos] [Stuff]