HREAD option for the getrusage system call.
Signed-off-by: Roland McGrath <[EMAIL PROTECTED]>
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
---
include/linux/resource.h |1 +
kernel/sys.c | 31 ++-
2 files changed, 23 insertions(+), 9 deletio
Hi Andrew,
On Monday 28 January 2008 11:22, Andrew Morton wrote:
> On Thu, 17 Jan 2008 13:57:05 +0530 Vinay Sridhar
<[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > Last year, there was discussion about per-thread getrusage by
> > adding RUSAGE_THREAD flag to getrusage(). Please refer to the
Hi Paul,
On PPC, I see a disparity between clock_getres implementations in the
vdso and syscall. I am using a IBM Openpower hardware and 2.6.24 kernel
with CONFIG_HIGH_RES_TIMERS=y.
clock_getres call for CLOCK_REALTIME returns 1 millisecond. However,
when I edit arch/powerpc/kernel/vdso*/gettime
.h:96: error: invalid lvalue in unary ‘&’
The patch below fixes it.
Thanks,
Sripathi.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
diff -uprN linux-2.6.24-rc5-rt1_org/include/asm-powerpc/percpu.h
linux-2.6.24-rc5-rt1/include/asm-powerpc/percpu.h
--- linux-2.6.24-rc5-rt1_org/inclu
Hi,
On RT kernel, When CONFIG_LOCK_STAT is enabled, trying to load the kdump
kernel (kexec -p) causes a kernel panic. I have seen slightly varying
backtraces, but I see general protection fault every time.
Hardware: x86_64, 4CPUs, LS20 blade.
Kernel: 2.6.23.1-rt11.
I don't see this problem on
Hi Andrew,
On Thursday 10 May 2007 07:20, you wrote:
> On Wed, 9 May 2007 14:13:27 +0530 Sripathi Kodi <[EMAIL PROTECTED]>
wrote:
> Your changelogs aren't vey logical. The context for this change is off in
>
> a different patch. I reproduce it here:
> >
irqs remain disabled. I have also sent patches for mainline
kernel. Please refer http://lkml.org/lkml/2007/05/09/76 ,
http://lkml.org/lkml/2007/05/09/79 and http://lkml.org/lkml/2007/05/09/550
This patch adds write_trylock_irqsave function.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
I
Hi Ingo,
This patch makes ptrace_attach() use the new API write_trylock_irqsave(). With
this, the code in ptrace_attach() will be same for mainline and -rt. On -rt,
write_trylock_irqsave() doesn't disable irqs and hence the problem is
avoided.
Signed-off-by: Sripathi Kodi <[EMAIL P
On Thursday 10 May 2007 07:20, Andrew Morton wrote:
> On Wed, 9 May 2007 14:13:27 +0530 Sripathi Kodi <[EMAIL PROTECTED]>
wrote:
> > Hi,
> >
> > This patch makes ptrace_attach use write_trylock_irqsave.
> >
> > Signed-off-by: Sripathi Kodi <[EMAIL PR
Hi,
This patch makes ptrace_attach use write_trylock_irqsave.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
---
kernel/ptrace.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
Index: linux-2.6.21/kernel/pt
e and write_trylock. I wish to add write_trylock_irqsave to
mainline kernel and then fix the -rt specific problem using this.
The patch below adds write_trylock_irqsave function.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
---
include/linux/spinlock.h |2 ++
in
oo, I think we should do
write_unlock_irq(tasklist_lock) before sending SIGSTOP.
The following patch solves the problem for me.
Thanks and regards,
Sripathi.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
--- linux-2.6.21-rc6-rt0-org/kernel/ptrace.c2007-04-06 08:06:56.0
Hi,
I am trying to disable the local APIC timer interrupts on x86_64
machine, but finding that it just doesn't work. I am trying to find out
if I am doing something wrong or if there is a problem with these CPUs.
I have a dual-cpu x86_64 machine and I have booted up with 2.6.11 kernel
and nmi_watch
(http://ozlabs.org/pipermail/linuxppc64-dev/2004-March/001359.html) and
was integrated into 2.6.5.
Thanks,
Sripathi.
Signed-off-by: Sripathi Kodi <[EMAIL PROTECTED]>
--- linux-2.6.10/arch/s390/kernel/compat_linux.c2004-12-25
03:05:24.0 +0530
+++ /home/sripathi/12795/ma
14 matches
Mail list logo