lazy_buddy-2.5.38-2
Subsystems (5)
This includes some steal_deferred_page() fixes not posted in the 2.5.25-4 release. i.e. the unposted 2.5.25-5.
This hasn't been booted (or even compiled) in centuries (a.k.a. 13 minor releases). Basically I let bk merge in the background while doing the things I'm actually supposed to etc. Nothing has really happened except for brute-force merging. The TODO for this (and the patch too) is essentially unchanged from lazy_buddy-2.5.25-4 aside from having taken an unpublished stab at the fork() failure issue a month or so ago (included here).
At some point if and when I can get some bandwidth to deal with this I'll make more stuff happen. NFI, 2.7? Maybe never? Bitrot is a very powerful force, not to be underestimated. Thus all unmerged patches die. Very little or nothing will happen here until large pages are dealt with, and probably not until several other things thereafter are also done. When the music stops come October 31 I have NFI where this will be.
Someone made noises they wanted to look at this, hence the rediff. Be prepared to fix as-of-yet-unresolved merging errors and/or new bugs.
Against current 2.5.38 bk.
Cheers,
Bill
fs/proc/proc_misc.c +19 -0
@@ -133,6 +133,7 @@static int meminfo_read_proc (char *page,char **start,off_t off,int count,int *eof,void *data) { +extern unsigned long nr_deferred_pages (void );struct sysinfo i;int len, committed;struct page_state ps;
@@ -170,6 +171,7 @@"SwapFree: %8lu kB\n" "Dirty: %8lu kB\n" "Writeback: %8lu kB\n" +"Deferred: %8lu kB\n" "Mapped: %8lu kB\n" "Slab: %8lu kB\n" "Committed_AS: %8u kB\n"
@@ -191,6 +193,7 @@K (i.freeswap),K (ps.nr_dirty),K (ps.nr_writeback), +K (nr_deferred_pages ()),K (ps.nr_mapped),K (ps.nr_slab), K(committed),
@@ -215,6 +218,21 @@#undef K } +extern struct seq_operations fragmentation_op; +static int fragmentation_open (struct inode *inode,struct file *file) +{ + (void )inode; +return seq_open (file, &fragmentation_op); +} + +static struct file_operations fragmentation_file_operations = { + open: fragmentation_open, + read: seq_read, + llseek: seq_lseek, + release: seq_release, +}; + +static int version_read_proc (char *page,char **start,off_t off,int count,int *eof,void *data) {
@@ -631,6 +649,7 @@create_seq_entry ("partitions" ,0 , &proc_partitions_operations);create_seq_entry ("interrupts" ,0 , &proc_interrupts_operations);create_seq_entry ("slabinfo" ,S_IWUSR |S_IRUGO ,&proc_slabinfo_operations); +create_seq_entry ("fraginfo" ,S_IRUGO , &fragmentation_file_operations);#ifdef CONFIG_MODULES create_seq_entry ("modules" ,0 , &proc_modules_operations);create_seq_entry ("ksyms" ,0 , &proc_ksyms_operations);
include/linux/mmzone.h +3 -2
@@ -25,8 +25,9 @@#endif typedef struct free_area_struct { -struct list_head free_list; -unsigned long *map; +unsigned long globally_free, active, locally_free; +struct list_head free_list, deferred_pages; +unsigned long *map; }free_area_t ;struct pglist_data ;
mm/page_alloc.c +325 -23
485 lines not on this page · raw message
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/