shmem truncate optimizations and cleanup
Subsystems (2)
PATCH 1/1 shmem truncate optimizations and cleanup
Hi Alan,
The appended patch speeds up the truncate logic of shmem.c considerably and makes it more readable.
Would you apply it to your -ac series?
I will go on with some cache lookup optimizations and probably read/write support.
Greetings
Christoph
include/linux/shmem_fs.h +1 -0
@@ -19,6 +19,7 @@struct shmem_inode_info {spinlock_t lock; +unsigned long max_index;swp_entry_t i_direct[SHMEM_NR_DIRECT ];/* for the first blocks */ swp_entry_t **i_indirect;/* doubly indirect blocks */ unsigned long swapped;
mm/shmem.c +33 -23
124 lines not on this page · raw message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/