Re: [PATCH 0/5] Some vmevent fixes...
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Mon, Jun 04, 2012 at 12:20:18PM +0300, Pekka Enberg wrote: > On Mon, Jun 4, 2012 at 11:45 AM, Minchan Kim <minchan@xxxxxxxxxx> wrote: > > KOSAKI, AFAIRC, you are a person who hates android low memory killer. > > Why do you hate it? If it solve problems I mentioned, do you have a concern, still? > > If so, please, list up. > > > > Android low memory killer is proved solution for a long time, at least embedded > > area(So many android phone already have used it) so I think improving it makes > > sense to me rather than inventing new wheel. > > VM events started out as *ABI cleanup* of Nokia's N9 Linux lowmem > notifier. That's not reinventing the wheel. > > On Mon, Jun 4, 2012 at 11:45 AM, Minchan Kim <minchan@xxxxxxxxxx> wrote: > > Frankly speaking, I don't know vmevent's other use cases except low memory > > notification and didn't see any agreement about that with other guys. > > I think you are missing the point. "vmevent" is an ABI for delivering > VM events to userspace. I started it because different userspaces do > not agree what "low memory" means - for obvious reasons. The part I dislike vmevent is to expose raw vmstat itself. VMEVENT_ATTR_NR_SWAP_PAGES VMEVENT_ATTR_NR_FREE_PAGES VMEVENT_ATTR_NR_AVAIL_PAGES And some calculation based on raw vmstat. We need more abstraction based on vmscan heuristic. > > As for use cases, it'd be useful for VMs to be notified of "about to > swap your pages soon" so that they can aggressively GC before entering How do you detect it? It's a policy which is most important part on vmevent. > GC-swapstorm hell. I also hear that something similar would be useful > for KVM/QEMU but I don't know the details. > > I really don't see how Android's "low memory killer" will be useful as > a generic solution. Yes. we can't do it by current android LMK. I'm not big fan of androild LMK but we can improve it much by my suggestions and yours smart ideas, I believe. > > Pekka > > -- > 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/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a> -- 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]