Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262018AbTFOIg2 (ORCPT ); Sun, 15 Jun 2003 04:36:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262028AbTFOIg2 (ORCPT ); Sun, 15 Jun 2003 04:36:28 -0400 Received: from pao-ex01.pao.digeo.com ([12.47.58.20]:8468 "EHLO pao-ex01.pao.digeo.com") by vger.kernel.org with ESMTP id S262018AbTFOIgQ (ORCPT ); Sun, 15 Jun 2003 04:36:16 -0400 Date: Sun, 15 Jun 2003 01:50:24 -0700 From: Andrew Morton To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: 2.5.71-mm1 Message-Id: <20030615015024.6d868168.akpm@digeo.com> X-Mailer: Sylpheed version 0.9.0pre1 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jun 2003 08:50:06.0466 (UTC) FILETIME=[1E758E20:01C3331B] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 13268 Lines: 618 ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.71/2.5.71-mm1/ Mainly a resync. . Manfred sent me a revised unmap-page-debugging patch which promptly broke. All slab changes have been dropped out so he can have a clear run at that. . New toy. Called, for the lack of a better name, "sleepometer": An instrumentation patch which attempts to work out where all that idle time is coming from. cat /proc/sleepo fs/select.c:255(schedule_timeout) 119 204415008 1717773 37026565 kernel/exit.c:1056(schedule) 10 47496358 4749635 23686014 fs/namei.c:1247(down) 1 53708 53708 53708 fs/namei.c:344(down) 4 67425 16856 33478 fs/jbd/journal.c:197(schedule) 5 96894718 19378943 44777091 Tells us that four down() attempts at fs/namei.c:344 blocked. The total amount of time spent blocked was 67425 microseconds. The average was 16845 us and the maximum was 33478 us. Bear in mind that if 100 processes block at a certain point for one second, this tool will claim that 100 seconds were spent blocked at that point. Which is quite reasonable, but some care is needed when interpreting the results. The following operations are instrumented: down() down_read() down_write() schedule() schedule_timeout() io_schedule() io_schedule_timeout() CONFIG_SLEEPOMETER is currently broken with CONFIG_PREEMPT due to #include hell. Reading /proc/sleepo clears all the current stats. Changes since 2.5.70-mm9: linus.patch Latest Linus tree -generic-numa-fixes.patch -compat_ioctl-fixes.patch -synaptics.patch -synaptics-cleanup.patch -es7000-01-generic.patch -es7000-02-subarch.patch -ppc64-fixup.patch -ppc64-knr-to-ansi.patch -time-fixes-cleanup-1.patch -time-fixes-cleanup-2.patch -ppc64-do_settimeofday-update.patch -sparc64-do_settimeofday-update.patch -x86_64-do_settimeofday-update.patch -ia64-do_settimeofday-update.patch -parisc-do_settimeofday-update.patch -s390-do_settimeofday-update.patch -alpha-do_settimeofday-update.patch -arm-do_settimeofday-update.patch -cris-do_settimeofday-update.patch -m68k-do_settimeofday-update.patch -ppc-do_settimeofday-update.patch -arm26-do_settimeofday-update.patch -sh-do_settimeofday-update.patch -sparc-do_settimeofday-update.patch -um-do_settimeofday-update.patch -v850-do_settimeofday-update.patch -centrino-cpufreq-driver.patch -ds-01-arcnet-oops-fix.patch -remove_anon_hash_chain.patch -sched-cleanup-2.patch -shmem-license-revert.patch -lsm-1-early-init.patch -lsm-2-remove-hook.patch -lsm-3-remove-inode_permission_lite.patch -lsm-4-setfsuid-fix.patch -writeback-memory-backed-fix.patch -make-pid_max-readable.patch Merged +statfs64-3-fixes-1.patch Fix reiserfs statfs() EOVERFLOW -unmap-page-debugging-2.patch -slab-poisoning-fix.patch Dropped, pending some rework. -mark-inode-dirty-debug.patch Dropped +remove-swapper_inode.patch Remove swapper_inode. +workqueue-reorg-fix.patch CPU hotplug preparation +yenta-unload-oops-fix.patch Fix module unload crash +task_struct-use-after-free-fix.patch Fix task refcounting buglet +rpc-depopulate-fix.patch Fix NFS oopses +sleepometer.patch sleep instrumentation All 159 patches: linus.patch mm.patch add -mmN to EXTRAVERSION kgdb-ga.patch kgdb stub for ia32 (George Anzinger's one) kgdb-use-ggdb.patch HZ-100.patch config_spinline.patch uninline spinlocks for profiling accuracy. ppc64-bat-initialisation-fix.patch ppc64: BAT initialisation fix ppc64-pci-update.patch ppc64-reloc_hide.patch ppc64-semaphore-reimplementation.patch ppc64: use the ia32 semaphore implementation sym-do-160.patch make the SYM driver do 160 MB/sec x86_64-fixes.patch x86_64 fixes irqreturn-snd-via-fix.patch via sound irqreturn fix config-PAGE_OFFSET.patch Configurable kenrel/user memory split lru_cache_add-check.patch lru_cache_add debug check delay-ksoftirqd-fallback.patch Try harded in IRQ context before falling back to ksoftirqd fb-image-depth-fix.patch fbdev image depth fix ds-09-vicam-usercopy-fix.patch vicam usercopy fix buffer-debug.patch buffer.c debugging show_stack-cleanup.patch show_stack() portability and cleanup patch ppc64-show_stack.patch e100-use-after-free-fix.patch statfs64-3.patch Add system calls statfs64 and fstatfs64 statfs64-3-fixes-1.patch VM_RESERVED-check.patch VM_RESERVED check rcu-stats.patch RCU statistics reporting ide_setting_sem-fix.patch hugetlbfs-size-inodes-mount-option.patch hugetlbfs: specify size & inodes at mount reslabify-pgds-and-pmds.patch re-slabify i386 pgd's and pmd's linux-isp.patch isp-update-1.patch isp-remove-pci_detect.patch list_del-debug.patch list_del debug check airo-schedule-fix.patch airo.c: don't sleep in atomic regions resurrect-batch_requests.patch bring back the batch_requests function kblockd.patch Create `kblockd' workqueue cfq-infrastructure.patch elevator-completion-api.patch elevator completion API as-iosched.patch anticipatory I/O scheduler as-proc-read-write.patch AS: pgbench improvement as-discrete-read-fifo-batches.patch AS: discrete read fifo batches as-sync-async.patch AS sync/async batches as-hash-removal-fix.patch AS: hash removal fix as-jumbo-patch-for-scsi.patch AS jumbo patch (for SCSI and TCQ) as-stupid.patch AS: fix stupid thinko as-no-batch-antic-limit.patch AS: no batch-antic-limit as-autotune-write-batches.patch AS: autotune write batches as-div-by-zero-fix.patch AS: divide by zero fix as-more-HZ.patch AS: more HZ != 1000 fixes as-even-more-write-batch-tuning.patch AS: update_write_batch tuning as-locking.patch AS locking as-HZ.patch AS HZ fixes as-double-free-and-debug.patch AS: fix a leak + more debugging as-fix-seek-estimation.patch AS: maybe repair performance drop of random read O_DIRECT as-fix-seeky-loads.patch AS: fix IBM's seek load unplug-use-kblockd.patch Use kblockd for running request queues cfq-2.patch CFQ scheduler, #2 CFQ: update to rq-dyn API cfq-hash-removal-fix.patch CFQ: hash removal fix cfq-list_del-fix.patch CFQ: empty the queuelist per-queue-nr_requests.patch per queue nr_requests blk-invert-watermarks.patch blk_congestion_wait threshold cleanup blk-fair-batches.patch blk-fair-batches blk-as-hint.patch blk-as-hint get_request_wait-oom-fix.patch handle OOM in get_request_wait(). blk-fair-batches-2.patch blk fair batches #2 print-build-options-on-oops.patch print a few config options on oops mmap-prefault.patch prefault of executable mmaps bio-debug-trap.patch BIO debugging patch sound-irq-hack.patch show_task-free-stack-fix.patch show_task() fix and cleanup put_task_struct-debug.patch ia32-mknod64.patch mknod64 for ia32 ext2-64-bit-special-inodes.patch ext2: support for 64-bit device nodes ext3-64-bit-special-inodes.patch ext3: support for 64-bit device nodes 64-bit-dev_t-kdev_t.patch 64-bit dev_t and kdev_t oops-dump-preceding-code.patch i386 oops output: dump preceding code lockmeter.patch ext3-no-bkl.patch ext3: move lock_kernel() down into the JBD layer. journal_get_write_access-speedup.patch JBD: journal_get_write_access() speedup ext3-concurrent-block-inode-allocation.patch ext3: concurrent block/inode allocation Fix orlov allocator boundary case ext3-concurrent-block-allocation-hashed.patch ext3: scalable counters and locks fix ext3 inode allocator race jbd-010-b_committed_data-race-fix.patch JBD: fix race over access to b_committed_data jbd-020-locking-schema.patch JBD: plan JBD locking schema jbd-030-remove-splice_lock.patch JBD: remove jh_splice_lock jbd-040-journal_add_journal_head-locking.patch JBD: fine-grain journal_add_journal_head locking jbd-045-rename-journal_unlock_journal_head.patch JBD: rename journal_unlock_journal_head to journal_put_journal_head jbd-050-b_frozen_data-locking.patch JBD: Finish protection of journal_head.b_frozen_data jbd-060-b_committed_data-locking.patch JBD: implement b_committed_data locking jbd-070-b_transaction-locking.patch JBD: implement b_transaction locking rules jbd-080-b_next_transaction-locking.patch JBD: Implement b_next_transaction locking rules jbd-090-b_tnext-locking.patch JBD: b_tnext locking jbd-100-remove-journal_datalist_lock.patch JBD: remove journal_datalist_lock jbd-110-t_nr_buffers-locking.patch JBD: t_nr_buffers locking jbd-120-t_updates-locking.patch JBD: t_updates locking jbd-130-t_outstanding_credits-locking.patch JBD: implement t_outstanding_credits locking jbd-140-t_jcb-locking.patch JBD: implement t_jcb locking jbd-150-j_barrier_count-locking.patch JBD: implement j_barrier_count locking jbd-160-j_running_transaction-locking.patch JBD: implement j_running_transaction locking jbd-170-j_committing_transaction-locking.patch JBD: implement j_committing_transaction locking jbd-180-j_checkpoint_transactions.patch JBD: implement j_checkpoint_transactions locking jbd-190-j_head-locking.patch JBD: implement journal->j_head locking jbd-200-j_tail-locking.patch JBD: implement journal->j_tail locking jbd-210-j_free-locking.patch JBD: implement journal->j_free locking jbd-220-j_commit_sequence-locking.patch JBD: implement journal->j_commit_sequence locking jbd-230-j_commit_request-locking.patch JBD: implement j_commit_request locking jbd-240-dual-revoke-tables.patch JBD: implement dual revoke tables. jbd-250-remove-sleep_on.patch JBD: remove remaining sleep_on()s jbd-300-remove-lock_kernel.patch JBD: remove lock_kernel() jbd-400-remove-lock_journal.patch JBD: remove lock_journal() jbd-510-h_credits-fix.patch JBD: journal_release_buffer: handle credits fix jbd-520-journal_unmap_buffer-race.patch JBD: journal_unmap_buffer race fix jbd-530-walk_page_buffers-race-fix.patch ext3: ext3_writepage race fix jbd-540-journal_try_to_free_buffers-race-fix.patch JBD: buffer freeing non-race comment jbd-550-locking-checks.patch JBD: add some locking assertions jbd-570-transaction-state-locking.patch JBD: additional transaction shutdown locking jbd-580-log_start_commit-race-fix.patch JBD: fix log_start_commit race jbd-590-do_get_write_access-speedup.patch JBD: do_get_write_access() speedup ext3-010-fix-journalled-data.patch ext3: fix data=journal mode ext3-035-journal_try_to_free_buffers-race-fix.patch ext3-040-recursive-ext3_write_inode-check.patch ext3: add a dump_stack() ext3-050-ioctl-transaction-leak.patch ext3: fix error-path handle leak ext3-070-xattr-clone-leak-fix.patch Fix leak in ext3_acl_chmod() ext3-080-remove-block-inode-count-message.patch ext3: remove mount-time diagnostic messages jbd-600-journal_dirty_metadata-speedup.patch JBD: journal_dirty_metadata() speedup jbd-610-journal_dirty_metadata-diags.patch JBD: journal_dirty_metadata diagnostics jbd-620-commit-vs-start-race-fix.patch JBD: fix race between journal_commit_transaction and start_this_handle ext3-090-journalled-writepage-vs-truncate-fix.patch ext3: fix data=journal for small blocksize jbd-630-remove-j_commit_timer_active.patch JBD: remove j_commit_timer_active jbd-650-truncate-ordered-pages.patch ext3: explicitly free truncated pages jbd-660-log_do_checkpoint-fix.patch JBD: log_do_checkpoint() locking fixes jbd-670-log_start_commit-locking-fix.patch JBD: fix locking around log_start_commit() jbd-680-log_wait_for_space-fix.patch JBD: hold onto j_state_lock after log_wait_for_space(). invalidate_mmap_range.patch Interface to invalidate regions of mmaps aio-01-retry.patch AIO: Core retry infrastructure aio-02-lockpage_wq.patch AIO: Async page wait aio-03-fs_read.patch AIO: Filesystem aio read aio-04-buffer_wq.patch AIO: Async buffer wait aio-05-fs_write.patch AIO: Filesystem aio write aio-05-fs_write-fix.patch aio-06-bread_wq.patch AIO: Async block read aio-06-bread_wq-fix.patch aio-07-ext2getblk_wq.patch AIO: Async get block for ext2 aio-poll.patch aio_poll aio-poll: don't put extern decls in .c! O_SYNC-speedup-2.patch speed up O_SYNC writes aio-09-o_sync.patch aio O_SYNC aio-10-BUG-fix.patch AIO: fix a BUG aio-11-workqueue-flush.patch AIO: flush workqueues before destroying ioctx'es aio-12-readahead.patch AIO: readahead fixes vfsmount_lock.patch From: Maneesh Soni Subject: [patch 1/2] vfsmount_lock syncppp-locking-fix.patch syncppp locking fix sched-hot-balancing-fix.patch fix for CPU scheduler load distribution truncate-pagefault-race-fix.patch Fix vmtruncate race and distributed filesystem race remove-swapper_inode.patch remove swapper_inode sync-write-more-pages.patch dirty inode writeback fix workqueue-reorg-fix.patch workqueue.c subtle fix and core extraction yenta-unload-oops-fix.patch fix yenta unload oops task_struct-use-after-free-fix.patch proc_pid_lookup use-after-free fix rpc-depopulate-fix.patch Subject: Re: Linux 2.5.71 sleepometer.patch sleep instrumentation - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/