* 2.5.70-mm7 @ 2003-06-10 7:45 Andrew Morton 2003-06-10 16:49 ` Problem with bootmem/mmap ZCane, Ed (Test Purposes) 0 siblings, 1 reply; 2+ messages in thread From: Andrew Morton @ 2003-06-10 7:45 UTC (permalink / raw) To: linux-kernel, linux-mm http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.70-mm7.gz Will appear sometime at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm7/ . Small ext3 fixes . Some block layer request allocation rework . Anticipatory scheduler tuning and fixes . A patch to make softirq's work harder before delegating to ksoftirqd. People who are interested in high-performance networking should test this and report please. . Various other fixes Changes since 2.5.70-mm6: linus.patch Latest Linus tree -kallsyms-build-fix.patch -ppc64-sk_family-fix.patch -non-CONFIG_PROC_FS-fix.patch -common-ioctl32.patch -ioctl32-cleanup-sparc64.patch -ioctl32-cleanup-x86_64.patch -remove_proc_entry-fix.patch -procfs-jffs-fix.patch -fix-numaq-apic-handling.patch -cleanup-summit-subarch.patch -summit-bus-to-node-mapping.patch -rocket-devfs-fix.patch -alloc_bootmem_core-BUG-fix.patch -eventpoll-use-after-free-fix.patch Merged +ppc64-bat-initialisation-fix.patch PPC64 warnings fix +ppc64-knr-to-ansi.patch PPC cleanup +remove-DRM-ioctls.patch remove DRM ioctls from the 32-bit compat layer +rtc-32-bit-fix.patch Fix rtc driver for 64-bit machines +rtc-busywait-fix.patch Fix busywait in rtc driver +compaq-drivers-MAINTAINERS.patch Maintainers update for various Compaq device drivers +fixed-size-kmalloc-speedup.patch Speed up kmalloc() +rebalance_tick-fix.patch CPU scheduler fix +delay-ksoftirqd-fallback.patch Make softirq's work harder before falling back to ksoftirqd +time-fixes-cleanup-1.patch +time-fixes-cleanup-2.patch Stuff from George +isapnp-warning-fix.patch Nail a warning +serial-core-oops-fix.patch Don't deref NULL +trond-3.patch Fix NFS mounts of localhost +nfs-to-localhost-lockup-fix.patch Don't lock up the VM when writing to NFS mounts of localhost +devfs_mk_dir-fix.patch Don't fail a devfs_mk_dir() of an existing dir +odd-numa-fixes.patch NUMA fixes +cpqarray-stack-reduction.patch Shave some stack space. +as-locking.patch +as-HZ.patch +as-double-free-and-debug.patch +as-fix-seek-estimation.patch Anticipatory scheduler fixes +blk-fair-batches-2.patch Block request batching fairness fixes +ext3-090-journalled-writepage-vs-truncate-fix.patch +jbd-630-remove-j_commit_timer_active.patch +jbd-640-ordered-truncate-fix.patch ext3 fixes and a cleanup +aio-10-BUG-fix.patch Fix a BUG in the experimental AIO code All 166 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-fixup.patch ppc64 fixup ppc64-ioctl-pci-update.patch From: Anton Blanchard <anton@samba.org> Subject: ppc64 stuff ppc64-reloc_hide.patch ppc64-semaphore-reimplementation.patch ppc64: use the ia32 semaphore implementation ppc64-knr-to-ansi.patch K&R style to ANSI style conversions in arch/ppc64/boot/zlib.c sym-do-160.patch make the SYM driver do 160 MB/sec x86_64-fixes.patch x86_64 fixes remove-DRM-ioctls.patch Remove DRM ioctls for common compat ioctl code rtc-32-bit-fix.patch Fix rtc driver for 32bit and 64bit rtc-busywait-fix.patch fix possible busywait in rtc_read() irqreturn-snd-via-fix.patch via sound irqreturn fix irq_cpustat-cleanup.patch irq_cpustat cleanup config-PAGE_OFFSET.patch Configurable kenrel/user memory split lru_cache_add-check.patch lru_cache_add debug check discontig-empty-node-fix.patch fix discontig with 0-sized nodes mem_driver_cleanup.patch driver/char/mem.c cleanup TARGET_CPUS-cleanup-fix.patch fix TARGET_CPUS inconsistency compaq-drivers-MAINTAINERS.patch update MAINTAINERS for Compaq drivers fixed-size-kmalloc-speedup.patch optimize fixed-sized kmalloc calls rebalance_tick-fix.patch fix scheduler bug not passing idle delay-ksoftirqd-fallback.patch Try harded in IRQ context before falling back to ksoftirqd time-fixes-cleanup-1.patch Some clean up of the time code. time-fixes-cleanup-2.patch More time clean up stuff fb-image-depth-fix.patch fbdev image depth fix isapnp-warning-fix.patch add returntypes to two functions in isapnp.h serial-core-oops-fix.patch fix oops in driver/serial/core.c buffer-debug.patch buffer.c debugging show_stack-cleanup.patch show_stack() portability and cleanup patch ppc64-show_stack.patch trond-3.patch trond debug patch #3 nfs-to-localhost-lockup-fix.patch fix hangs with nfs to localhost devfs_mk_dir-fix.patch devfs_mk_dir() fix statfs64.patch Add system calls statfs64 and fstatfs64 statfs64: handle overflows statfs64: remaining filesystems statfs64-x86_64-fixes.patch statfs64 fixes for x86_64 ppc64-statfs-fix.patch xfs-statfs-warning-fix.patch odd-numa-fixes.patch NUMA fixes for odd configurations cpqarray-stack-reduction.patch Subject: [PATCH] cpqarray.c fix stack usage VM_RESERVED-check.patch VM_RESERVED check rcu-stats.patch RCU statistics reporting ide_setting_sem-fix.patch reslabify-pgds-and-pmds.patch re-slabify i386 pgd's and pmd's linux-isp.patch isp-update-1.patch list_del-debug.patch list_del debug check airo-schedule-fix.patch airo.c: don't sleep in atomic regions synaptics-mouse-support.patch Add Synaptics touchpad tweaking to psmouse driver 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-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 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 unmap-page-debugging-2.patch debug patch: unmap unused kernel pages unmap-page-debugging-2-fix.patch slab-poisoning-fix.patch slab poisoning fix 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-640-ordered-truncate-fix.patch JBD: strip ordered-data buffers in truncate 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 vfsmount_lock.patch From: Maneesh Soni <maneesh@in.ibm.com> Subject: [patch 1/2] vfsmount_lock syncppp-locking-fix.patch syncppp locking fix s390-dirty-bit-cleaning.patch dirty bit clearing on s390. sched-hot-balancing-fix.patch fix for CPU scheduler load distribution -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a> ^ permalink raw reply [flat|nested] 2+ messages in thread
* Problem with bootmem/mmap 2003-06-10 7:45 2.5.70-mm7 Andrew Morton @ 2003-06-10 16:49 ` ZCane, Ed (Test Purposes) 0 siblings, 0 replies; 2+ messages in thread From: ZCane, Ed (Test Purposes) @ 2003-06-10 16:49 UTC (permalink / raw) To: linux-kernel, linux-mm Dear all, I'm allocating a large buffer at boot time (for later DMA purposes) using: buf=alloc_bootmem_low_pages(1024*1024*500); If I printk here, from init/main.c, I get: buf=0xc1e14000 __va(buf)=0x81e14000 __pa(buf)=0x1e14000 Now, in user-space, I'm trying to get access to my buffer (as root), by doing the following: memfd=open("/dev/mem", O_RDWR); my_buf=mmap(0, 1024*1024*501, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, memfd, OFFSET); I've tried all those addresses above, as the OFFSET, but it either generates an illegal instruction, or a segfault. Bit of a beginner, but learning fast, and I'd be _really_ greatful, if anyone could help me! Many thanks, Ed begin 666 RMRL-Disclaimer.txt M4F5G:7-T97)E9"!/9F9I8V4Z(%)O:V4@36%N;W(@4F5S96%R8V@@3'1D+"!3 M:65M96YS($AO=7-E+"!/;&1B=7)Y+"!"<F%C:VYE;&PL( T*0F5R:W-H:7)E M+B!21S$R(#A&6@T*#0I4:&4@:6YF;W)M871I;VX@8V]N=&%I;F5D(&EN('1H M:7,@92UM86EL(&%N9"!A;GD@871T86-H;65N=',@:7,@8V]N9FED96YT:6%L M('1O(%)O:V4@#0T-"DUA;F]R(%)E<V5A<F-H($QT9"!A;F0@;75S="!N;W0@ M8F4@<&%S<V5D('1O(&%N>2!T:&ER9"!P87)T>2!W:71H;W5T('!E<FUI<W-I M;VXN(%1H:7,@#0T-"F-O;6UU;FEC871I;VX@:7,@9F]R(&EN9F]R;6%T:6]N M(&]N;'D@86YD('-H86QL(&YO="!C<F5A=&4@;W(@8VAA;F=E(&%N>2!C;VYT ;<F%C='5A;" -#0T*<F5L871I;VYS:&EP+@T* end -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a> ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-10 16:49 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-06-10 7:45 2.5.70-mm7 Andrew Morton 2003-06-10 16:49 ` Problem with bootmem/mmap ZCane, Ed (Test Purposes)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox