linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hugang <hugang@soulinfo.com>
To: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test11-wli-1
Date: Fri, 5 Dec 2003 16:14:51 +0800	[thread overview]
Message-ID: <20031205161451.790ae1ea.hugang@soulinfo.com> (raw)
In-Reply-To: <20031204200120.GL19856@holomorphy.com>

On Thu, 4 Dec 2003 12:01:20 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> Successfully tested on a Thinkpad T21. Any feedback regarding
> performance would be very helpful. Desktop users should notice top(1)
> is faster, kernel hackers that kernel compiles are faster, and highmem
> users should see much less per-process lowmem overhead.

I got this in ppc.
fs/built-in.o: In function `proc_task_readdir':
fs/built-in.o(.text+0x2ff44): undefined reference to `__cmpdi2'
fs/built-in.o(.text+0x2ff44): relocation truncated to fit: R_PPC_REL24 __cmpdi2
fs/built-in.o(.text+0x2ff6c): undefined reference to `__cmpdi2'
fs/built-in.o(.text+0x2ff6c): relocation truncated to fit: R_PPC_REL24 __cmpdi2
make: *** [.tmp_vmlinux1] Error 1

apply the patch should fix it.

Index: fs/proc/base.c
===================================================================
--- fs/proc/base.c	(revision 3)
+++ fs/proc/base.c	(working copy)
@@ -1673,12 +1673,13 @@
 	struct inode *inode = dentry->d_inode;
 	int retval = -ENOENT;
 	ino_t ino;
+	unsigned long pos = filp->f_pos;  /* avoiding "long long" filp->f_pos */
 
 	if (!pid_alive(proc_task(inode)))
 		goto out;
 	retval = 0;
 
-	switch (filp->f_pos) {
+	switch (pos) {
 	case 0:
 		ino = inode->i_ino;
 		if (filldir(dirent, ".", 1, filp->f_pos, ino, DT_DIR) < 0)


-- 
Hu Gang / Steve
Email         : hugang@soulinfo.com, steve@soulinfo.com
GPG FinePrint : 4099 3F1D AE01 1817 68F7  D499 A6C2 C418 86C8 610E
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc
MSN#          : huganglinux@hotmail.com [9:00AM - 5:30PM +8:00]
RLU#          : 204016 [1999] (Register Linux User)

  parent reply	other threads:[~2003-12-05  8:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 20:01 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-04 21:01 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-04 22:58 ` 2.6.0-test11-wli-1 Muli Ben-Yehuda
2003-12-04 23:21   ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-05  8:14 ` Hugang [this message]
2003-12-05  9:10   ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-08 13:57 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-08 14:03   ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-09 23:35 ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-09 23:59   ` 2.6.0-test11-wli-1 Zwane Mwaikambo
2003-12-11  1:42     ` 2.6.0-test11-wli-1 bill davidsen
2003-12-11  2:10       ` 2.6.0-test11-wli-1 William Lee Irwin III
2003-12-11  2:30         ` 2.6.0-test11-wli-1 Mike Fedyk

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=20031205161451.790ae1ea.hugang@soulinfo.com \
    --to=hugang@soulinfo.com \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).