Skip to contentSkip to conversation

2.6.0-test2-mm3

DISCUSSION Andrew Morton 9 participants 19 messages Aug 2, 2003 – Aug 4, 2003 Memory management

lore
Share & tools
lore
#0 lore raw

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test2/2.6.0-test2-mm3/

. Con's CPU scheduler rework has been dropped out and Ingo's changes have
been added.

Con's changes demonstrated that additional infrastructure is needed to solve these problems correctly. Ingo's patch adds those. Con is continuing to rebase his work on these changes.

. Added Ingo's 4G/4G memory split patch. It takes my kernel build from
1:51 to 1:53 so gee.

Big fat warning: whenever you change the value of CONFIG_X86_4G you will need to run a `make clean'. Or just remove arch/i386/boot/setup.o.

The build system seems to not notice that setup.S depends on CONFIG_X86_4G and the resulting kernel immediately triplefaults.

. A device mapper update.

. Several reiserfs bugfixes

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

Changes since 2.6.0-test2-mm2:

+linus.patch

Latest Linus tree

-alsa-bk-2003-07-28.patch
-x86_64-merge.patch
-misc31.patch
-selinux.patch
-reslabify-pgds-and-pmds.patch
-buffer-debug.patch
-centrino-update.patch
-3c59x-pm-fix.patch
-dev_t-printing.patch
-rootdisk-parsing-fix.patch
-3c59x-eisa-fix.patch
-slab-reclaim-accounting-fix.patch
-stack-leak-fix.patch
-unlock_buffer-barrier.patch
-invalidate_mmap_range.patch
-buffer_io_error-readahead-fix.patch
-force_page_cache_readahead.patch
-truncate-pagefault-race-fix.patch
-truncate-pagefault-race-fix-fix.patch
-no_page-memory-barriers.patch
-ext3-elide-inode-block-reading.patch
-ext3_getblk-race-fix.patch
-ext3_write_super-speedup.patch
-alloc_bootmem_low_pages-ordering-fix.patch
-sis-drm-fix.patch
-soundcard-devfs-fix.patch
-6pack-hz-fix.patch
-devfs_lookup-revert-and-refix.patch
-write-mark_page_accessed.patch
-less-kswapd-throttling.patch
-zone-pressure.patch
-reclaim-mapped-pressure.patch
-xfs-dio-unwritten-extents.patch
-force-CONFIG_INPUT.patch
-ipt_helper-build-fix.patch
-select-xoffed-tty-fix.patch
-conntrack-build-fix.patch
-arcnet-typo-fix.patch
-ext3-commit-assertion-fix.patch
-read_dir-fix.patch
-blk_start_queue-fix.patch
-special_file-move.patch
-remove-queue_wait.patch
-uidhash-locking.patch
-osf-partition-handling.patch
-com20020_cs-build-fix.patch
-hdlc-build-fix.patch
-add-mandocs-target.patch
-binfmt_script-argv0-fix.patch
-bttv-driver-update.patch
-ppp-xon-xoff-handling.patch
-dac960-devfs-fix.patch
-dquot-typo-fix.patch
-i810-fix.patch
-intel-agp-oops-fix.patch
-export-agp_memory_reserved.patch
-pci_device_id-devinitdata.patch
-airo-fixes.patch
-ppc32-cpu-registration-fix.patch
-impi-build-fix.patch
-document-nfs-utils.patch
-untested-quota-fix.patch
-generic-hdlc-updates.patch
-stallion-devfs-fix.patch
-dm-rename-resume.patch
-serial-is-not-experimental.patch
-ftl-warning-fix.patch
-watchdog-module-param-fixes.patch

merged

+execve-fixes.patch

Fix exeve() emulation for various 64-bit architectures

+x86_64-cpumask_t-fix.patch

Maybe fix x86_64 merge for cpumask_t

+ppc64-local.patch
+ppc64-sections.patch
+ppc64-sched_clock.patch
+ppc64-prom-compile-fix.patch

Various ppc64 hacks to make it build and work.

-rcu-stats.patch

Dropped. rcu_grace_period.patch broke it.

+rcu-grace-period.patch

Instrumentation to help solve the rcu-for-route-cache starvation problem.

-o1-interactivity.patch
-o2int.patch
-o3int.patch
-o4int.patch
-o5int-2.patch
-o6int.patch
-o6.1int.patch
-o7int.patch
-o8int.patch
-o9int.patch
-o10int.patch
-o11int.patch
-o11int.1.patch
-o11.2int.patch

Dropped.

+sched-2.6.0-test2-mm2-A3.patch

Ingo's CPu scheduler update.

+sched-warning-fix.patch

Fix a warning in it.

+nforce2-acpi-fixes-fix.patch

Fix for the fix for ACPI problems with the nforce chipset

+synaptics-mode-set.patch

Fix old synaptics touchpads.

+4g-2.6.0-test2-mm2-A5.patch

4G/4G split

+4g4g-cleanups.patch

Tidy some warnings in it

+kgdb-4g4g-fix-2.patch

Fix kgdb for 4G/4G

+4g4g-config-fix.patch

Tidy up the config options.

+dm-1-module-param.patch
+dm-2-blk.patch
+dm-3-use-hex.patch
+dm-4-64-bit-ioctls.patch
+dm-5-missing-include.patch
+dm-6-sector_div.patch
+dm-7-rename-resume.patch

Device mapper update

+reiserfs-savelinks-endianness-fix.patch
+reiserfs-enospc-fix.patch
+reiserfs-link-unlink-race-fix.patch

Reiserfs fixes

+mremap-atomicity-fix.patch

mremap() fix

+spurious-SIGCHLD-fix.patch

signal fix

+aic7xxx_old-oops-fix.patch

aic7xxx_old not real fix.

+ide-cd-oops-fix.patch

Fix oops with ide-cd on end-of-disk errors.

+awe-core.patch
+awe-core-fixes.patch
+awe-use-gfp_flags.patch
+awe-use-gfp_flags-fixes.patch
+awe-fix-truncate-errors.patch
+awe-fix-truncate-errors-fixes.patch

Report EIO and ENOSPC errors during async writeout to userspace.

+as-remove-hash-valid-stuff.patch

Anticipatory scheduler leftovers

+usercopy-might_sleep-checks.patch

might_sleep() checks in usercopy functions.

All 130 patches:

linus.patch
cset-20030802_1915.txt.gz

mm.patch
add -mmN to EXTRAVERSION

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)

kgdb-remove-cpu_callout_map.patch
kgdb: remove cpu_callout_map decls

kgdb-use-ggdb.patch

kgdb-ga-docco-fixes.patch
kgdb doc. edits/corrections

execve-fixes.patch
fix 64-bit architectures for the binprm change

cpumask_t-1.patch
cpumask_t: allow more than BITS_PER_LONG CPUs
cpumask_t fix for s390
fix cpumask_t for s390
Fix cpumask changes for x86_64
fix cpumask_t for sparc64

cpumask_t-gcc-workaround-46.patch
cpumask_t: more gcc workarounds

cpumask_t-gcc-workaround-47.patch
cpumask_t gcc bug workarounds

cpumask-acpi-fix.patch
cpumask_t: build fix

kgdb-cpumask_t.patch

x86_64-cpumask_t-fix.patch

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-bar-0-fix.patch
Allow PCI BARs that start at 0

ppc64-reloc_hide.patch

ppc64-semaphore-reimplementation.patch
ppc64: use the ia32 semaphore implementation

ppc64-local.patch
ppc64: local.h implementation

ppc64-sections.patch
ppc64: implement sections.h

ppc64-sched_clock.patch
ppc64: sched_clock()

ppc64-prom-compile-fix.patch
ppc64: prom.c compile fix

sym-do-160.patch
make the SYM driver do 160 MB/sec

ia64-percpu-revert.patch
revert percpu changes

x86_64-fixes.patch
x86_64 fixes

delay-ksoftirqd-fallback.patch
Try harded in IRQ context before falling back to ksoftirqd

ds-09-vicam-usercopy-fix.patch
vicam usercopy fix

rcu-grace-period.patch
Monitor RCU grace period

mtrr-hang-fix.patch
Fix mtrr-related hang

intel8x0-cleanup.patch
intel8x0 cleanups

bio-too-big-fix.patch
Fix raid "bio too big" failures

ppa-fix.patch
ppc fix

linux-isp-2.patch

linux-isp-2-fix-again.patch
lost feral fix

feral-bounce-fix.patch
Feral driver - highmem issues

feral-bounce-fix-2.patch
Feral driver bouncing fix

list_del-debug.patch
list_del debug check

print-build-options-on-oops.patch
print a few config options on oops

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

64-bit-dev_t-other-archs.patch
enable 64-bit dev_t for other archs

oops-dump-preceding-code.patch
i386 oops output: dump preceding code

lockmeter.patch

printk-oops-mangle-fix.patch
disentangle printk's whilst oopsing on SMP

20-odirect_enable.patch

21-odirect_cruft.patch

22-read_proc.patch

23-write_proc.patch

24-commit_proc.patch

25-odirect.patch

nfs-O_DIRECT-always-enabled.patch
Force CONFIG_NFS_DIRECTIO

kjournald-PF_SYNCWRITE.patch

sched-2.6.0-test2-mm2-A3.patch
sched-2.6.0-test2-mm2-A3

sched-warning-fix.patch

sched-balance-tuning.patch
CPU scheduler balancing fix

ext3-block-allocation-cleanup.patch

nfs-revert-backoff.patch
nfs: revert backoff changes

floppy-smp-fixes.patch
floppy smp fixes

1000HZ-time-accuracy-fix.patch
missing #if for 1000 HZ

signal-race-fix.patch
signal handling race condition causing reboot hangs

vmscan-defer-writepage.patch
vmscan: give dirty referenced pages another pass around the LRU

blacklist-asus-L3800C-dmi.patch
add ASUS l3800P to DMI black list

nforce2-acpi-fixes.patch
ACPI patch which fixes all my IRQ problems on nforce2

nforce2-acpi-fixes-fix.patch

remove-const-initdata.patch
__initdata cant be marked const

timer-race-fixes.patch
timer race fixes

local-apic-enable-fixes.patch
Local APIC enable fixes

p00001_synaptics-restore-on-close.patch

p00002_psmouse-reset-timeout.patch

p00003_synaptics-multi-button.patch

p00004_synaptics-optional.patch

p00005_synaptics-pass-through.patch

p00006_psmouse-suspend-resume.patch

p00007_synaptics-old-proto.patch

synaptics-mode-set.patch
Synaptics mode setting

bridge-notification-fix.patch
Fix bridge notification processing

keyboard-resend-fix.patch
keyboard resend fix

kobject-paranoia-checks.patch
Driver core and kobject paranoia checks

4g-2.6.0-test2-mm2-A5.patch
4G/4G split patch

4g4g-cleanups.patch

kgdb-4g4g-fix-2.patch

4g4g-config-fix.patch

dm-1-module-param.patch
dm: don't use MODULE_PARM

dm-2-blk.patch
dm: remove blk.h include

dm-3-use-hex.patch
dm: decimal device num sscanf

dm-4-64-bit-ioctls.patch
dm: 64 bit ioctl fixes

dm-5-missing-include.patch
dm: missing #include

dm-6-sector_div.patch
dm: use sector_div()

dm-7-rename-resume.patch
dm: resume() name clash

reiserfs-savelinks-endianness-fix.patch
reiserfs: fix savelinks on bigendian arches

reiserfs-enospc-fix.patch
reiserfs: fix problem when fs is out of space

reiserfs-link-unlink-race-fix.patch
reiserfs: fix races between link and unlink on same file

mremap-atomicity-fix.patch
move_one_page() atomicity fix

spurious-SIGCHLD-fix.patch
spurious SIGCHLD from dying thread group leader

aic7xxx_old-oops-fix.patch

ide-cd-oops-fix.patch
ide-cd error handling oops fix

xfs-use-after-free-fix.patch
XFS use-after-free fix

awe-core.patch
async write errors: report truncate and io errors on async writes

awe-core-fixes.patch
async write errors core: fixes

awe-use-gfp_flags.patch
async write errors: use flags in address space

awe-use-gfp_flags-fixes.patch
async write errors: mapping->flags fixes

awe-fix-truncate-errors.patch
async write errors: fix spurious fs truncate errors

awe-fix-truncate-errors-fixes.patch
async write errors: truncate handling fixes

as-remove-hash-valid-stuff.patch
AS: remove hash valid stuff

usercopy-might_sleep-checks.patch
might_sleep() checks for usercopy functions

aio-mm-refcounting-fix.patch
fix /proc mm_struct refcounting bug

aio-01-retry.patch
AIO: Core retry infrastructure

io_submit_one-EINVAL-fix.patch
Fix aio process hang on EINVAL

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

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

aio-dio-no-readahead.patch
aio O_DIRECT no readahead

lock_buffer_wq-fix.patch
lock_buffer_wq fix

unuse_mm-locked.patch
AIO: hold the context lock across unuse_mm

aio-take-task_lock.patch
From: Suparna Bhattacharya <[email protected]>
Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel

aio-O_SYNC-fix.patch
Unify o_sync changes for aio and regular writes

aio-readahead-rework.patch
Unified page range readahead for aio and regular reads

#1 lore raw
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

Will report 12 hours from now or so, I have synaptics problems currently.

Quoted 1 line

-selinux.patch

(...)

Quoted 1 line

merged

Sure about this?

Quoted 3 lines

+4g-2.6.0-test2-mm2-A5.patch

4G/4G split

Linus called this patch 'tasteless' - do you see this being merged?

Thanks.

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
#2 lore raw
Quoted 6 lines · bert hubert
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

Quoted 7 lines

Will report 12 hours from now or so, I have synaptics problems currently.

Quoted 1 line

-selinux.patch

(...)

Quoted 1 line

merged

Sure about this?

yes.

Quoted 5 lines
Quoted 3 lines

+4g-2.6.0-test2-mm2-A5.patch

4G/4G split

Linus called this patch 'tasteless' - do you see this being merged?

Bolting 64G of memory onto a 32-bit CPU is tasteless too...

We already have a bucketload of highmem hacks in the kernel, and they are not sufficient for some people. We have several more (large) highmem hacks being proposed.

It is fairly clear that a number of users will need more highmem hacks than we currenly have. I'd rather add one more big highmem hack than a whole bunch more little ones. And I'd rather that the big highmem hack be in the base kernel, rather than having different versions floating about in different vendor trees.

It seems that 4G+4G is the most viable patch at this stage. Wider testing will tell.

I rather wish that the patch had been available a year ago, so we would now have less little highmem hacks in the tree.

wrt long-term kernel purity: one approach would be to not merge 4G+4G into 2.7 at all. This keeps the long-term kernel codebase saner. It assumes that the monster 32-bit boxes will have been obsoleted by 64-bit machines within 3-4 years and that it is acceptable to end-of-line those machines on a 2.6-based kernel. I think that's pretty safe.

The main concern is that I don't want to see vendor kernels madly diverging from the public kernel right at the outset of the 2.6 series.

#5 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

. Added Ingo's 4G/4G memory split patch. It takes my kernel build from
1:51 to 1:53 so gee.

No idea who, if anyone, listened last time I answered questions on this. Sending in fixes shortly...

-- wli

#7 lore raw
In reply to Andrew Morton
Quoted 4 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test2/2.6.0-test2-mm3/

. Con's CPU scheduler rework has been dropped out and Ingo's changes have
been added.

Why?

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#8 lore raw
Quoted 8 lines · Felipe Alfaro Solana
Quoted 4 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test2/2.6.0-test2-mm3/

. Con's CPU scheduler rework has been dropped out and Ingo's changes have
been added.

Why?

Because of the other reasons which I mentioned? We need additional infrastructure such as the nanosecond timing to do this right.

#9 lore raw
Quoted 5 lines · Andrew Morton
Quoted 4 lines · Felipe Alfaro Solana
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test2/2.6.0-test2-mm3/

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

. Con's CPU scheduler rework has been dropped out and Ingo's changes have
been added.

Why?

Because of the other reasons which I mentioned? We need additional infrastructure such as the nanosecond timing to do this right.

That's what happens when one doesn't read carefully an e-mail message. Thanks, Andrew...

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#6 lore raw
In reply to William Lee Irwin III
Quoted 2 lines · Andrew Morton
Quoted 2 lines

. Added Ingo's 4G/4G memory split patch. It takes my kernel build from
1:51 to 1:53 so gee.

Quoted 2 lines · William Lee Irwin III

No idea who, if anyone, listened last time I answered questions on this. Sending in fixes shortly...

Alright, let's get people an idea of what I'm talking about:

(a) pgd_ctor() is called once per pgd _object_, not once per page. The code as posted does list_add() to the same page during the ctor calls, and list_del() to the same page during dtor calls when PAE is configured, for the precise reason that there are multiple PAE pgd's per page. This is why mbligh hit list poison. This patch restores the check for PTRS_PER_PMD == 1 in order to avoid oopsing on list poison.

(b) The entire pgd_ctor business (apart from the AGP fix, which was actually no longer necessary once the rest was backed out) was essentially backed out, since all preconstruction was backed out. This restores the world to doing preconstruction as it should.

(c) clear_page_tables() only clears _userspace_ pmd's; pgd_free() isn't clearing the trampoline pmd entries for the kernel pmd. This patch separates out a slab for kernel pmd's to enforce the separation (or otherwise bitblitting) _required_ by slab preconstruction invariants and so fixes bad pmd bugs (I suppose no one's reported them yet; perhaps not enough pmd_bad() checks are around to catch them all or the ordering of allocations and frees tends to be just right to avoid it for some odd reason).

(d) The #ifdef-lessness was backed out. Since everything else had to be rearranged, this patch restores the #ifdef-lessness for free. (This is actually a moderately useful property, since it means all cases get compiletested regardless of .config).

(e) Either PAE or XKVA is enough to dodge needing pgd_lock and pgd_list entirely. Don't touch them in those cases.

So the below is what it should actually look like. I didn't bother waiting to test because there's a whole matrix to run through and that's going to take ages, and apparently something needs to be out there to demonstrate the right way to do this faster than that.

Yes, I'm testing (and bugfixing) the below myself.

-- wli

arch/i386/mm/init.c +29 -4
diff -prauN mm3-2.6.0-test2-1/arch/i386/mm/init.c mm3-2.6.0-test2-2/arch/i386/mm/init.c
@@ -515,11 +515,13 @@ void __init mem_init(void)
 	load_LDT(&init_mm.context);
 }
 
-kmem_cache_t *pgd_cache;
-kmem_cache_t *pmd_cache;
+kmem_cache_t *pgd_cache, *pmd_cache, *kpmd_cache;
 
 void __init pgtable_cache_init(void)
 {
+	void (*ctor)(void *, kmem_cache_t *, unsigned long);
+	void (*dtor)(void *, kmem_cache_t *, unsigned long);
+
 	if (PTRS_PER_PMD > 1) {
 		pmd_cache = kmem_cache_create("pmd",
 					PTRS_PER_PMD*sizeof(pmd_t),
@@ -529,13 +531,36 @@ void __init pgtable_cache_init(void)
 					NULL);
 		if (!pmd_cache)
 			panic("pgtable_cache_init(): cannot create pmd cache");
+
+		if (TASK_SIZE > PAGE_OFFSET) {
+			kpmd_cache = kmem_cache_create("kpmd",
+					PTRS_PER_PMD*sizeof(pmd_t),
+					0,
+					SLAB_HWCACHE_ALIGN | SLAB_MUST_HWCACHE_ALIGN,
+					kpmd_ctor,
+					NULL);
+			if (!kpmd_cache)
+				panic("pgtable_cache_init(): "
+						"cannot create kpmd cache");
+		}
 	}
+
+	if (PTRS_PER_PMD == 1 || TASK_SIZE <= PAGE_OFFSET)
+		ctor = pgd_ctor;
+	else
+		ctor = NULL;
+
+	if (PTRS_PER_PMD == 1 && TASK_SIZE <= PAGE_OFFSET)
+		dtor = pgd_dtor;
+	else
+		dtor = NULL;
+
 	pgd_cache = kmem_cache_create("pgd",
 				PTRS_PER_PGD*sizeof(pgd_t),
 				0,
 				SLAB_HWCACHE_ALIGN | SLAB_MUST_HWCACHE_ALIGN,
-				pgd_ctor,
-				pgd_dtor);
+				ctor,
+				dtor);
 	if (!pgd_cache)
 		panic("pgtable_cache_init(): Cannot create pgd cache");
 }
arch/i386/mm/pgtable.c +108 -65

222 lines not on this page · raw message

include/asm-i386/pgtable.h +2 -2
diff -prauN mm3-2.6.0-test2-1/include/asm-i386/pgtable.h mm3-2.6.0-test2-2/include/asm-i386/pgtable.h
@@ -32,12 +32,12 @@
 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page))
 extern unsigned long empty_zero_page[1024];
 extern pgd_t swapper_pg_dir[1024];
-extern kmem_cache_t *pgd_cache;
-extern kmem_cache_t *pmd_cache;
+extern kmem_cache_t *pgd_cache, *pmd_cache, *kpmd_cache;
 extern spinlock_t pgd_lock;
 extern struct list_head pgd_list;
 
 void pmd_ctor(void *, kmem_cache_t *, unsigned long);
+void kpmd_ctor(void *, kmem_cache_t *, unsigned long);
 void pgd_ctor(void *, kmem_cache_t *, unsigned long);
 void pgd_dtor(void *, kmem_cache_t *, unsigned long);
 void pgtable_cache_init(void);
#10 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

It works now by disabling CONFIG_MOUSE_PS2_SYNAPTICS

Thanks,
Zwane

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#12 lore raw
In reply to Andrew Morton
Quoted 11 lines · Andrew Morton
Quoted 8 lines · Zwane Mwaikambo
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

It works now by disabling CONFIG_MOUSE_PS2_SYNAPTICS

err, that's a bug isn't it?

I've had a hard time following the saga behind the synaptics code. I know there is some external thing you have to download but never got round to doing it. I'll give that a go now too with CONFIG_MOUSE_PS2_SYNAPTICS. Colour me lazy...

Signature · 6 lines
function.linuxpower.ca
--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#11 lore raw
In reply to Zwane Mwaikambo
Quoted 8 lines · Zwane Mwaikambo
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

It works now by disabling CONFIG_MOUSE_PS2_SYNAPTICS

err, that's a bug isn't it?

#13 lore raw
In reply to Zwane Mwaikambo
Quoted 9 lines · Zwane Mwaikambo
Quoted 4 lines
Quoted 2 lines

It works now by disabling CONFIG_MOUSE_PS2_SYNAPTICS

err, that's a bug isn't it?

I've had a hard time following the saga behind the synaptics code. I know there is some external thing you have to download but never got round to doing it. I'll give that a go now too with CONFIG_MOUSE_PS2_SYNAPTICS. Colour me lazy...

I really don't understand the point behind the synaptics code. I would have imagined it to be an extension to the generic PS/2 code that would finally allow me to use my 'scroll buttons' on my trackpad, but it has caused nothing but problems. and I'm also kind of a console jockey so I really need GPM working, which is why i'm always booting with psmouse_noext these days...

-Josh

Signature · 2 lines
Using words to describe magic is like using a screwdriver to cut roast beef.
		-- Tom Robbins
#14 lore raw
In reply to Zwane Mwaikambo
Quoted 6 lines · Zwane Mwaikambo
Quoted 1 line

err, that's a bug isn't it?

I've had a hard time following the saga behind the synaptics code. I know there is some external thing you have to download but never got round to doing it. I'll give that a go now too with CONFIG_MOUSE_PS2_SYNAPTICS. Colour me lazy...

Ok after downloading the XFree86 driver and enabling CONFIG_MOUSE_PS2_SYNAPTICS everything is peachy, plus i get to use the scroll buttons.

So its confirmed working on my formerly 'broken' setup.

Thanks,
Zwane

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#15 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

I tried it on my Fujitsu P2120, hoping that the PS/2 resume patch would help it wake up from S3 properly, but no such luck. The radeon framebuffer doesn't restore, and the keyboard doesn't work. The mouse might, but there's no way for me to tell.

If I remember correctly, the network functioned properly on resume in test1-mm2, but doesn't in test2-mm3, so I had to do a reset.

Danek
--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#16 lore raw

<quote sender="Danek Duvall">

Quoted 5 lines · Andrew Morton
Quoted 3 lines

. I don't think anyone has reported on whether 2.6.0-test2-mm2 fixed any
PS/2 or synaptics problems. You are all very bad.

Quoted 7 lines

I tried it on my Fujitsu P2120, hoping that the PS/2 resume patch would help it wake up from S3 properly, but no such luck. The radeon framebuffer doesn't restore, and the keyboard doesn't work. The mouse might, but there's no way for me to tell.

If I remember correctly, the network functioned properly on resume in test1-mm2, but doesn't in test2-mm3, so I had to do a reset.

does your logs say that network is not functioning, yet syslog seems to be running all these while? did you use a radeontool to "off" your lcd screen? fyi, I am using Fujitsu E-7010.

Eugene

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#17 lore raw
Quoted 3 lines · Eugene Teo

does your logs say that network is not functioning, yet syslog seems to be running all these while? did you use a radeontool to "off" your lcd screen? fyi, I am using Fujitsu E-7010.

There's nothing in my logs at all, so there's no way to tell what, if anything, survived the resume. I'm not using radeontool; I hadn't even been aware of it until now.

Danek
--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#3 lore raw
In reply to Andrew Morton
Quoted 3 lines · Andrew Morton

We already have a bucketload of highmem hacks in the kernel, and they are not sufficient for some people. We have several more (large) highmem hacks being proposed.

Please don't put page clustering anywhere near that blacklist. There's a lot more to it than "gee, wli shrank mem_map[] again".

Quoted 5 lines · Andrew Morton

wrt long-term kernel purity: one approach would be to not merge 4G+4G into 2.7 at all. This keeps the long-term kernel codebase saner. It assumes that the monster 32-bit boxes will have been obsoleted by 64-bit machines within 3-4 years and that it is acceptable to end-of-line those machines on a 2.6-based kernel. I think that's pretty safe.

Maybe some way to get feedback to/from cpu vendors about this would help. If we really want to kill highmem dead in 2.7, beating cpu vendors with a baseball bat until they^W^W^W^W^W^W^W^Wkindly asking cpu vendors to kill that fucking PAE shit dead (goddammit!) might help.

-- wli

#18 lore raw
In reply to Danek Duvall

<quote sender="Danek Duvall">

Quoted 9 lines · Eugene Teo
Quoted 4 lines

does your logs say that network is not functioning, yet syslog seems to be running all these while? did you use a radeontool to "off" your lcd screen? fyi, I am using Fujitsu E-7010.

There's nothing in my logs at all, so there's no way to tell what, if anything, survived the resume. I'm not using radeontool; I hadn't even been aware of it until now.

check /var/log/message, did you get something like:

Aug  3 07:01:22 amaryllis -- MARK --
Aug  3 07:21:22 amaryllis -- MARK --
Aug  3 07:41:22 amaryllis -- MARK --
Aug  3 08:01:22 amaryllis -- MARK --
Aug  3 08:21:22 amaryllis -- MARK --
Aug  3 08:41:22 amaryllis -- MARK --
Aug  3 09:01:22 amaryllis -- MARK --
Aug  3 09:21:22 amaryllis -- MARK --
Aug  3 09:41:22 amaryllis -- MARK -- 

it shows that even though the laptop "freezes", the laptop is still functioning. i just can't bring it back to life or resume it. network is down, evident from my getmail logs.

radeontool is simply a userspace tool that turns off your lcd backlight.

Eugene

--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#4 lore raw
In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

Bolting 64G of memory onto a 32-bit CPU is tasteless too...

We already have a bucketload of highmem hacks in the kernel, and they are not sufficient for some people. We have several more (large) highmem hacks being proposed.

Do you see us removing the other highmem hacks if we add the 4G/4G patch?

Thanks,

Jim