linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ed Tomlinson <tomlins@cam.org>
To: Dave McCracken <dmccr@us.ibm.com>, Andrew Morton <akpm@digeo.com>,
	William Lee Irwin III <wli@holomorphy.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	Linux Memory Management <linux-mm@kvack.org>
Subject: Re: [PATCH 2.5.43-mm2] New shared page table patch
Date: Fri, 18 Oct 2002 21:32:28 -0400	[thread overview]
Message-ID: <200210182132.28099.tomlins@cam.org> (raw)
In-Reply-To: <309790000.1034982417@baldur.austin.ibm.com>

On October 18, 2002 07:06 pm, Dave McCracken wrote:
> Ok, I've shaken the shared page table code hard, and fixed all the bugs I
> could find.  It now runs reliably on all the configurations I have access
> to, including regression runs of LTP.
>
> I've audited the usage of page_table_lock, and I believe I have covered all
> the places that also need to hold the pte_page_lock.
>
> For reference, one of the tests was TPC-H.  My code reduced the number of
> allocated pte_chains from 5 million to 50 thousand.

This is still failing when starting kde3 here.  Here is what looks different
in the massive straces of kde starting:

---------- fails
[pid   983] getpid()                    = 983
[pid   983] getrlimit(0x3, 0xbffff724)  = 0
[pid   983] close(5)                    = 0
[pid   983] close(3)                    = 0
[pid   983] rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid   983] rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid   983] chdir("/poola/home/ed")     = 0
[pid   983] brk(0x805d000)              = 0x805d000
[pid   983] open("/usr/lib/ksmserver.la", O_RDONLY) = 3
[pid   983] fstat64(3, {st_dev=makedev(33, 3), st_ino=125820, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8
, st_size=947, st_atime=2002/10/18-21:00:31, st_mtime=2002/08/13-08:32:59, st_ctime=2002/08/22-20:36:41}) = 0
[pid   983] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid   983] read(3, "# ksmserver.la - a libtool libra"..., 4096) = 947
[pid   983] read(3, "", 4096)           = 0
[pid   983] close(3)                    = 0
[pid   983] munmap(0x40014000, 4096)    = 0
[pid   983] open("/usr/lib/ksmserver.so", O_RDONLY) = 3
[pid   983] read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\262"..., 1024) = 1024
[pid   983] fstat64(3, {st_dev=makedev(33, 3), st_ino=125821, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=1
84, st_size=92000, st_atime=2002/10/18-21:09:24, st_mtime=2002/08/13-08:49:39, st_ctime=2002/08/22-20:36:41}) = 0
[pid   983] old_mmap(NULL, 95284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41029000
[pid   983] mprotect(0x4103f000, 5172, PROT_NONE) = 0
[pid   983] old_mmap(0x4103f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x4103f000
[pid   983] close(3)                    = 0
[pid   983] --- SIGSEGV (Segmentation fault) ---
[pid   982] <... read resumed> "", 1)   = 0
[pid   982] --- SIGCHLD (Child exited) ---
[pid   982] dup(2)                      = 6
[pid   982] fcntl64(6, F_GETFL)         = 0x8801 (flags O_WRONLY|O_NONBLOCK|O_LARGEFILE)
[pid   982] close(6)                    = 0
[pid   982] write(2, "kdeinit: Pipe closed unexpectedl"..., 43kdeinit: Pipe closed unexpectedly: Success
---------- ok
[pid  1064] getpid()                    = 1064
[pid  1064] getrlimit(0x3, 0xbffff724)  = 0
[pid  1064] close(5)                    = 0
[pid  1064] close(3)                    = 0
[pid  1064] rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid  1064] rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
[pid  1064] chdir("/poola/home/ed")     = 0
[pid  1064] brk(0x805d000)              = 0x805d000
[pid  1064] open("/usr/lib/ksmserver.la", O_RDONLY) = 3
[pid  1064] fstat64(3, {st_dev=makedev(33, 3), st_ino=125820, st_mode=S_IFREG|0644, st_nlink=1, st_uid
=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=947, st_atime=2002/10/18-20:55:52, st_mtime=2002/0
8/13-08:32:59, st_ctime=2002/08/22-20:36:41}) = 0
[pid  1064] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid  1064] read(3, "# ksmserver.la - a libtool libra"..., 4096) = 947
[pid  1064] read(3, "", 4096)           = 0
[pid  1064] close(3)                    = 0
[pid  1064] munmap(0x40014000, 4096)    = 0
[pid  1064] open("/usr/lib/ksmserver.so", O_RDONLY) = 3
[pid  1064] read(3,  <unfinished ...>
[pid  1016] <... select resumed> )      = 0 (Timeout)
[pid  1016] gettimeofday({1034989231, 109379}, NULL) = 0
[pid  1016] gettimeofday({1034989231, 109669}, NULL) = 0
[pid  1016] write(3, "=\0\4\0\22\0@\0\0\0\0\0\220\1<\0\232\6\5\0\23\0@\0\0\0"..., 356) = 356
[pid  1016] ioctl(3, 0x541b, [0])       = 0
[pid  1016] gettimeofday({1034989231, 113322}, NULL) = 0
[pid  1016] select(10, [3 5 7 9], NULL, NULL, {0, 395460} <unfinished ...>
[pid  1064] <... read resumed> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\262"..., 1024) = 1
024
[pid  1064] fstat64(3, {st_dev=makedev(33, 3), st_ino=125821, st_mode=S_IFREG|0644, st_nlink=1, st_uid
=0, st_gid=0, st_blksize=4096, st_blocks=184, st_size=92000, st_atime=2002/10/18-21:00:31, st_mtime=20
02/08/13-08:49:39, st_ctime=2002/08/22-20:36:41}) = 0
[pid  1064] old_mmap(NULL, 95284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x41029000
[pid  1064] mprotect(0x4103f000, 5172, PROT_NONE) = 0
[pid  1064] old_mmap(0x4103f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x41
03f000
[pid  1064] close(3)                    = 0
[pid  1064] write(6, "\0", 1 <unfinished ...>
[pid  1063] <... read resumed> "\0", 1) = 1
[pid  1064] <... write resumed> )       = 1
[pid  1063] close(5 <unfinished ...>
[pid  1064] close(6 <unfinished ...>
----------

I will send the compete straces to you and wli.

Really would like to see this working!

Ed Tomlinson
--
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/

  reply	other threads:[~2002-10-19  1:32 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 23:06 Dave McCracken
2002-10-19  1:32 ` Ed Tomlinson [this message]
2002-10-19 19:17 ` Bill Davidsen
2002-10-19 19:36   ` Dave McCracken
2002-10-20  4:20     ` Eric W. Biederman
2002-10-20  6:18   ` Martin J. Bligh
2002-10-21 14:55     ` Eric W. Biederman
2002-10-21 15:21       ` Martin J. Bligh
2002-10-22  3:54         ` Eric W. Biederman
2002-10-22  5:55           ` Martin J. Bligh
2002-10-22 16:09             ` Rik van Riel
2002-10-22 16:14               ` Martin J. Bligh
2002-10-22 18:06                 ` Bill Davidsen
2002-10-22 19:02                   ` Martin J. Bligh
2002-10-22 19:21                     ` Dave McCracken
2002-10-24 10:50                       ` Bill Davidsen
2002-10-24 14:22                         ` Martin J. Bligh
2002-10-24 14:38                           ` Dave McCracken
2002-10-24 14:51                             ` Martin J. Bligh
2002-10-25 17:31                           ` Bill Davidsen
2002-10-24 10:42                     ` Bill Davidsen
2002-10-22 17:19               ` Benjamin LaHaise
2002-10-22 17:36                 ` Martin J. Bligh
2002-10-22 17:45                   ` Benjamin LaHaise
2002-10-22 17:56                     ` Andrew Morton
2002-10-22 18:01                       ` Benjamin LaHaise
2002-10-22 19:03                         ` Martin J. Bligh
2002-10-22 20:23                           ` Alan Cox
2002-10-22 21:33                             ` Gerrit Huizenga
2002-10-22 18:22                     ` Alan Cox
2002-10-22 18:47                       ` Gerrit Huizenga
2002-10-22 18:55                         ` Benjamin LaHaise
2002-10-22 19:27                           ` Gerrit Huizenga
2002-10-22 19:29                             ` Benjamin LaHaise
2002-10-22 19:56                             ` Arjan van de Ven
2002-10-22 14:26           ` Rik van Riel
2002-10-22 17:09             ` Andrew Morton
2002-10-22 17:15               ` Rik van Riel
2002-10-22 18:36                 ` Dave McCracken
2002-10-22 18:49                   ` Andrew Morton
2002-10-22 19:06                     ` Gerrit Huizenga
2002-10-22 19:29                       ` Dave McCracken
2002-10-22 19:11                   ` Ulrich Drepper
2002-10-22 19:29                     ` Gerrit Huizenga
2002-10-22 18:45               ` Gerrit Huizenga
2002-10-22 17:54             ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200210182132.28099.tomlins@cam.org \
    --to=tomlins@cam.org \
    --cc=akpm@digeo.com \
    --cc=dmccr@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox