Re: + perfmon2-reserve-system-calls.patch added to -mm tree

From: Arnd Bergmann (arnd_at_arndb.de)
Date: 11/15/05

  • Next message: Badari Pulavarty: "2.6.14 X spinning in the kernel"
    To: linux-kernel@vger.kernel.org
    Date:	Tue, 15 Nov 2005 00:50:26 +0100
    
    

    On Dinsdag 15 November 2005 00:30, akpm@osdl.org wrote:
    > diff -puN include/asm-powerpc/unistd.h~perfmon2-reserve-system-calls include/asm-powerpc/unistd.h
    > --- 25/include/asm-powerpc/unistd.h~perfmon2-reserve-system-calls       Mon Nov 14 15:27:32 2005
    > +++ 25-akpm/include/asm-powerpc/unistd.h        Mon Nov 14 15:27:32 2005
    > @@ -296,8 +296,20 @@
    >  #define __NR_inotify_init      275
    >  #define __NR_inotify_add_watch 276
    >  #define __NR_inotify_rm_watch  277
    > +#define __NR_pfm_create_context        278
    > +#define __NR_pfm_write_pmcs    279
    > +#define __NR_pfm_write_pmds    280
    > +#define __NR_pfm_read_pmds     281
    > +#define __NR_pfm_load_context  282
    > +#define __NR_pfm_start         283
    > +#define __NR_pfm_stop          284
    > +#define __NR_pfm_restart       285
    > +#define __NR_pfm_create_evtsets        286
    > +#define __NR_pfm_getinfo_evtsets 287
    > +#define __NR_pfm_delete_evtsets 288
    > +#define __NR_pfm_unload_context        289
    >  
    > -#define __NR_syscalls          278
    > +#define __NR_syscalls          290
    >  
    >  #ifdef __KERNEL__
    >  #define __NR__exit __NR_exit

    Hmm, I had sent an earlier patch to paulus that reserves 278 and
    279 for spu_run and spu_create and that apparently got dropped.

    Could I have those two numbers or is there already an established
    user based for the perfmon2 numbers that would take preference?

            Arnd <><
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Badari Pulavarty: "2.6.14 X spinning in the kernel"

    Relevant Pages

    • Re: + perfmon2-reserve-system-calls.patch added to -mm tree
      ... I had sent an earlier patch to paulus that reserves 278 and ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] i386 ramdisk_max fix for < 1GB kernel space
      ... There was a vmalloc tuning patch made back in September 2004 that reserved ... This keeps the spirit of the original patch and reserves 512MB of space ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Strange IO behaviour on wakeup from sleep
      ... >> Not much datas at this point yet, but paulus and I noticed that current ... > work correctly after suspend with the following patch from Linus' bk tree. ... > maybe it works if we can guarantee there are no timers scheduled. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard - was: Re: Linux 2.6.0-test4
      ... >> I was able to get the key unstuck by switching back and forth between ... I rebuild my kernel including your patch; ... I'll get back to you once I verify that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)