Hello,
(This patch is merged in 2.6.20 as commit
9185cfa92507d07ac787bc73d06c4eec7239)
With this patch, my desktop no longer powers off after hibernate(8).
It just reboots.
This user land fix can restore the old behavior:
echo shutdown > /sys/power/disk
The commit causes user land breakage
no protection when we set p->time_slice in
> __oom_kill_task(). Am I right in thinking that this field should be
> protected by the appropriate runqueue lock, at least this is what
> scheduler_tick() seems to use?
ditto
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe f
interface.
>
> Andrew, please consider -mm inclusion. Or advise me what I need
> to do to take this forward. Thanks.
>
> - Ken
Do you have any benchmarks?
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu
imary goal in writing code is to minimize the time and effort
> it will take a typical reader to properly understand the code.
> I write first and foremost for humans.
Hmm, I really wish xfs guys follow that too.
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: s
;
> This patch should have no material affect.
Why bother to have just added a variable, `releasing'?
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majo
Bernd Petrovitsch wrote:
On Mon, 2005-08-29 at 11:55 +0800, qiyong wrote:
Erik Mouw wrote:
On Fri, Aug 26, 2005 at 05:25:37PM +0800, Coywolf Qi Hunt wrote:
I just wrote a tool with kernel patch, which is to set the uid's of a running
process without FORK.
The tool is at
On Fri, Aug 26, 2005 at 05:25:37PM +0800, Coywolf Qi Hunt wrote:
> Hello,
>
> I just wrote a tool with kernel patch, which is to set the uid's of a running
> process without FORK.
>
> The tool is at http://users.freeforge.net/~coywolf/pub/promote/
> Usage: promote [ui
cess instead of killing it.
Is it also generally useful in practice? Thoughts?
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
arch/i386/kernel/syscall_table.S |1 +
include/linux/syscalls.h |1 +
kernel/sys.c | 19 +++
On Thu, Aug 25, 2005 at 04:37:51PM +0800, Coywolf Qi Hunt wrote:
> Hello,
>
> This cleanups up alloc_buffer_head(), by using a single get_cpu_var().
> Boot tested.
Also cleanup free_buffer_head().
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
(2) system call
> +
> + check_flags: called by the fcntl(2) system call for F_SETFL command
> +
> + dir_notify: called by the fcntl(2) system call for F_NOTIFY command
> +
> + flock: called by the flock(2) system call
> +
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To uns
ff-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
buffer.c | 17 ++---
1 files changed, 6 insertions(+), 11 deletions(-)
--- 2.6.13-rc6-mm2/fs/buffer.c~orig 2005-08-23 13:42:04.0 +0800
+++ 2.6.13-rc6-mm2/fs/buffer.c 2005-08-25 16:04:21.0 +0800
@@ -1356,7 +1356,
Hello,
This cleanups up alloc_buffer_head(), by using a single get_cpu_var().
Boot tested.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
buffer.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
--- 2.6.13-rc6-mm2/fs/buffer.c~orig 2005-08-23
Hello,
The argument struct file *file in aops { .readpage, .readpages,
prepare_write, .commit_wirte } is not used. I'd like to file a series
of patches to clean it up. Are there any other concerns?
thanks
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: sen
On Mon, Aug 22, 2005 at 01:17:59PM +0800, Coywolf Qi Hunt wrote:
> On 1/23/05, Jesper Juhl <[EMAIL PROTECTED]> wrote:
> >
> > This patch modifies a few of the printk() loglevels used in init/main.c in
> > an attempt to make them a bit more appropriate.
>
kage void __init start_kernel(void
> */
> lock_kernel();
> page_address_init();
> + printk(KERN_NOTICE);
> printk(linux_banner);
Why not merge it to the same line?
> setup_arch(&command_line);
> setup_per_cpu_areas();
for something like
>
> tar cvf - my_source_tree | hw_engine_encrypt | splice_to_network
>
> and the whole pipeline would not have a _single_ actual data copy: the
> pipes are channels.
>
> Of course, since it's a pipe, the nice thing is that people don't have
now allocated only on
> demand, using a dedicated "file_ra" slab.
> 64bits machines handling lot of sockets can save about 72 bytes per
> file.
> * private_data : The field is moved close to f_count and f_op fields to
> speedup sockfd_lookups
Why not keep the comme
hanks.
> >
> > Coywolf
>
> Stephane
> --
> Stephane Wirtel <[EMAIL PROTECTED]>
>
>
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL P
0x14
> May 28 04:08:14 nova []
> autoremove_wake_function+0x0/0x60
> May 28 04:08:14 nova [] kswapd+0x0/0x140
> May 28 04:08:14 nova []
> kernel_thread_helper+0x5/0x10
> May 28 04:08:14 nova Code: 00 00 00 00 8d bc 27 00 00
> 00 00 55 57 56 53 83 ec 04 8b 6c 24 18 8b 45 00 f6
On 8/15/05, Mike Waychison <[EMAIL PROTECTED]> wrote:
> Coywolf Qi Hunt wrote:
> > Hello,
> >
> > Unexport __mntput() was talked about two months ago.
> > http://lkml.org/lkml/2005/6/9/69
> > Modules should not call __mntput() directly. If autofs or nfs
Hello,
Unexport __mntput() was talked about two months ago.
http://lkml.org/lkml/2005/6/9/69
Modules should not call __mntput() directly. If autofs or nfsd does that, it's
being wrong.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
--- 2.6.13-rc6/fs/
but not VIA C3 Ezla).
> .
> This package includes support for NPTL.
> .
Even with libc6-i686 installed, I can't see sysenter got used.
libc6-i686 has /lib/tls/i686/cmov/libc.so.6, not the one
/lib/libc-2.3.5.so.
mozilla gets: Illegal instruction
I've added ud2 in both entry.S a
On 8/12/05, Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
> On 8/12/05, Steven Rostedt <[EMAIL PROTECTED]> wrote:
> > On Thu, 2005-08-11 at 11:51 -0400, Steven Rostedt wrote:
> > >
> > > And booted it. The system is up and running, so I really don't thi
: no
> fpu : yes
> fpu_exception : yes
> cpuid level : 2
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 mmx fxsr sse
> bogomips: 722.94
>
>
> -- Steve
>
The cpu doe
ues anyway. So we could do:
>
> if (singlethread)
> BUG_ON(strlen(name) > sizeof(task_struct.comm) - 1);
> else
> BUG_ON(strlen(name) > sizeof(task_struct.comm) - 1 - 4);
>
> which gets you 10,000,000 HBAs. Enough?
>
&
> I'm looking at 2.6.13-rc6-git1 line 182 of entry.S and I don't see it.
> Must be a different kernel.
>
> According to the documentation that I was looking at, a trap in x86 does
> _not_ turn off interrupts.
>
...
>
> I don't see a sti here.
>
> --
ge->mapping NULL?
> >
>
> mm.h:page_mapping() handles all that.
at http://sosdg.org/~coywolf/lxr/source/include/linux/mm.h#L561
Should the comment be s/page_mapped/page->mapping/ ?
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On 7/29/05, Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
> On 7/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > The patch titled
> >
> > include/linux/blkdev.h: "extern inline" -> "static inline"
> >
> > h
gt; @@ -727,7 +727,7 @@ static inline unsigned int blksize_bits(
> return bits;
> }
>
> -extern inline unsigned int block_size(struct block_device *bdev)
> +static inline unsigned int block_size(struct block_device *bdev)
> {
> return bdev->bd_block_size;
&g
; Shouldn't that be "#if defined($undefined_string)"?
>
> #ifdef is obsolete...
>
What leads you to believe that?
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL
On Tue, Jul 19, 2005 at 10:21:30PM +0800, Coywolf Qi Hunt wrote:
> On 7/15/05, Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> >
> > Changes since 2.6.13-rc2-mm2:
> >
> >
> > git-drm.patch
> > git-audit.patch
> > git-input.patch
>
On 7/15/05, Andrew Morton <[EMAIL PROTECTED]> wrote:
>
>
> Changes since 2.6.13-rc2-mm2:
>
>
> git-drm.patch
> git-audit.patch
> git-input.patch
> git-kbuild.patch
make help br0ken, missing matching `'' for binrpm-pkg.
--
Coywolf Qi Hunt
http
hello,
GCC warns me this problem. This patch adds copy_to_user result check
in sys_select() and sys_pselect7().
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
diff -pruN 2.6.13-rc3-mm1/fs/select.c 2.6.13-rc3-mm1-cy1/fs/select.c
--- 2.6.13-rc3-mm1/fs/select.c 2005-07-15
_exit(0)
>
> Is this exit() call wrong? If I do RB_HALT_SYSTEM and _exit(0) after,
> the kernel panics.
What the panic shows?
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL
just keep using the same blocks over and over? i.e. if it's
> > all contiguous when you first create the swapfile, will it stay that
> > way for the life of the file?
>
> The latter. Create the swapfile when the filesystem is young and empty,
I guess/hope dd always makes it c
comments.
I encountered the same problem days ago. Thanks for the patch. A patch
based on yours will be sent in the next mail.
--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EM
On Thu, Apr 14, 2005 at 08:48:42PM +, Allison wrote:
> I am trying to simply print out the module names and code sizes.
> I am just learning how to rtraverse these data structures.
Just read /proc/modules
Coywolf
>
> Also, on what basis is the decision made whether to export a symbo
mask=0x1d2
> 1 Time(s): protections[]: 0 0 0
> 1 Time(s): protections[]: 0 238 238
> 1 Time(s): protections[]: 14 252 252
>
> Cheers,
>
> Iwan Sanders
>
Yes, oom, and your kernel is a bit old.
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list
FYI
http://lkml.org/lkml/2004/6/29/57
On 4/13/05, Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
> I told rmk about this long time ago.
>
> On 4/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > From: Russell King <[EMAIL PROTECTED]>
> >
&g
* Note: max_low_pfn and max_pfn reflect the number
> +* of _pages_ in the system, not the maximum PFN.
> */
> max_low_pfn = memend_pfn - O_PFN_DOWN(PHYS_OFFSET);
> max_pfn = memend_pfn - O_PFN_DOWN(PHYS_OFFSET);
> _
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
Hello,
Split out from my oom-killer patch, this patch hides reparent_to_init().
reparent_to_init()
should only be called by daemonize(). This applies to 2.6.12-rc2-mm2 too.
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
arch/i386/mach-voyager/voyager_thread.c |1 -
include
Andrew Morton wrote:
...
make-sysrq-f-call-oom_kill.patch
make sysrq-F call oom_kill()
Glad to see it fixed. :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.htm
Andrew Morton wrote:
Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
Linux OOM LCA (Least Common Ancestor) Patch
...
--- 2.6.12-rc1-mm3/include/linux/sched.h 2005-03-26 13:21:11.0 +0800
+++ 2.6.12-rc1-mm3-cy/include/linux/sched.h 2005-03-28 10:18:24.0
Lee Revell wrote:
On Sat, 2005-03-26 at 10:28 -0800, Greg KH wrote:
On Sat, Mar 26, 2005 at 05:52:20PM +, Mark Fortescue wrote:
I am writing a "Proprietry" driver module for a "Proprietry" PCI card and
I have found that I can't use SYSFS on Linux-2.6.10.
Why ?.
What ever gave you the impressio
On Mon, 28 Mar 2005 15:04:16 -0800, Chris Wright <[EMAIL PROTECTED]> wrote:
> * Coywolf Qi Hunt ([EMAIL PROTECTED]) wrote:
> > On Mon, 28 Mar 2005 14:44:30 -0800, Chris Wright <[EMAIL PROTECTED]> wrote:
> > > * Ali Akcaagac ([EMAIL PROTECTED]) wrote:
> > >
ks like it's meant to be used to mean
> uninitialized). May check with XFS folks if they've seen this type
> of bug.
I think it is f = kmem_cache_alloc(filp_cachep, GFP_KERNEL); returns an
invalid pointer, then in memset(f, 0, sizeof(*f)); fault happens at address f.
eax == 0 is to clear the memory in memset().
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
March 28, 2005
Coywolf Qi Hunt
[EMAIL PROTECTED]
Linux OOM LCA (Least Common Ancestor) Patch
Hello,
Pmdisk was merged in a few months ago. This removes CONFIG_PM_DISK
for conditional compilation.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
---
diff -pruN 2.6.11-mm4/arch/i386/defconfig 2.6.11-mm4-cy/arch/i386/defconfig
--- 2.6.11-mm4/arch/i386/def
On Thu, Mar 24, 2005 at 05:21:27PM -0800, Andrew Morton wrote:
> Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
> >
> > >>--- 2.6.12-rc1-mm2/mm/oom_kill.c 2005-03-03 17:12:18.0 +0800
> > >>+++ 2.6.12-rc1-mm2-cy/mm/oom_kill.c 2005-03-25 08:07:1
Andrew Morton wrote:
Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
Recent make-sysrq-f-call-oom_kill.patch calls oom-killer in interrupt context,
thus results into panic. This patch fixes out_of_memory() to avoid schedule
when in interrupt context.
Coywolf
Signed-off-by: Coywolf Q
patch fixes out_of_memory() to avoid schedule
when in interrupt context.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
diff -pruN 2.6.12-rc1-mm2/mm/oom_kill.c 2.6.12-rc1-mm2-cy/mm/oom_kill.c
--- 2.6.12-rc1-mm2/mm/oom_kill.c2005-03-03 17:12:18.0 +0800
+++
description was wrong.
Coywolf
Ok, applied to my tree, will eventually propagate it. (I hope it looks
okay to you, rafael).
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
diff -pruN 2.6.11-mm4/include/linux/suspend.h
2.6.11-mm4-cy/include/linux/suspend.h
--- 2.6.11-mm4/include
suppose
each script consumes 100k, that'll be 100k*4k=400M roughly. And your
box's is merely 256M MemTotal.
The currently oom algorithm fails to find out such kinds of memory hog.
And the kernel kills other innocent processes because the its points
is much lower than most others.
C
linux-os wrote:
On Thu, 17 Mar 2005, Peter W. Morreale wrote:
(I did not see this addressed in the FAQs...)
How much physical memory can the 2.4.26 kernel address in kernel
context on x86?
All of it.
What about DMA memory?
All of it, too. The old DMA controller(s) could only address 16 MB
because
Hello,
This fixes SUSPEND_PD_PAGES, which wastes one page under most cases.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
diff -pruN 2.6.11-mm4/include/linux/suspend.h
2.6.11-mm4-cy/include/linux/suspend.h
--- 2.6.11-mm4/include/linux/suspend.h 2005-03-17
On Mon, 14 Mar 2005 18:02:58 -0800, Andrew Morton <[EMAIL PROTECTED]> wrote:
> Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote:
> >
> > This oom_kill fix is to do mmput(mm) a bit earlier and returning 0 or 1
> > to indicate success or failure instead of returning mm_s
Hello,
This oom_kill fix is to do mmput(mm) a bit earlier and returning 0 or 1
to indicate success or failure instead of returning mm_struct pointer.
Coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
oom_kill.c | 23 +--
1 files changed, 9 inse
Hello,
Should we hold some lock (like task_lock(tsk)) when test tsk->mm == &init_mm
or any things else like tsk->mm ==0 ? Suppose it's the final test.
Thanks
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe
> +#define put_user(x,ptr)\
> +({ int __ret_pu; \
> + __chk_user_ptr(ptr);\
> + switch(sizeof(*(ptr))) {\
> +
er running @current task/process,if available.
>
> but... a use doesn't hane an IP. a host does.
>
The patch is useful in this situation. Suppose node E has two IPs, IP1
and IP2. IP1 is the default and got blocked from some network C.
Now if one try to visit C from E, one has to to
gt;
> thank you for your comments,
> Christian.
> --
> BOFH excuse #281:
>
> The co-locator cannot verify the frame-relay gateway to the ISDN server.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [E
QSTACKS seems only on ppc64. Is it good to add for other archs too?
Regards
--
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hello,
This patch removes the redundant compiler barrier. As Linus ever said
"The mb() should make sure that gcc cannot move things around...".
--coywolf
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
diff -Nrup 2.6.11/kernel/power/disk.c 2.6.11-cy/kernel/power/disk.c
-
Hello akpm,
At the very beginning in 2.4 days, in mnt_init(), mount_hashtable
allocation page order was determined at runtime. Later the page order
got fixed to 0. This patch cleanups it.
Signed-off-by: Coywolf Qi Hunt <[EMAIL PROTECTED]>
diff -Nrup 2.6.11/fs/namespace.c 2.6.11
On Sat, 5 Mar 2005 13:47:08 +0200, Alexey Dobriyan <[EMAIL PROTECTED]> wrote:
> On Saturday 05 March 2005 12:22, Coywolf Qi Hunt wrote:
>
> > Since 2.6.9, there came along the LOCALVERSION for people to add local
> > version in make menuconfig which was EXTRAVERSION orig
Since 2.6.9, there came along the LOCALVERSION for people to add local
version in make menuconfig which was EXTRAVERSION originally for imho.
Now EXTRAVERSION goes just as a kernel version number, it's reasonable
to remove the `.' in its usage.
Signed-off-by: Coywolf Qi Hunt <[EM
ion of this anywhere
>
> number of currently ready-to-run threads
> /
> total number of threads in the machine
> the pid of the most-recently-created thread.
>
> No idea why the last one is there.
This refects the forking activity. How `heavy
67 matches
Mail list logo