1. 02 Dec, 2002 11 commits
    • Patrick Mochel's avatar
      driver model: get rid of global device list; minor cleanups. · c4450655
      Patrick Mochel authored
      Since the device subsystem contains a global list of registered objects,
      we don't need to keep our own separate list, so we axe it. This also
      results in a savings of sizeof(void *) x 2 in the size of each device.
      
      drivers/base/power.c is updated to take the subsystem's rwsem and iterate
      over that list of objects.
      
      This leaves only the children list of struct device protected by the driver
      model semaphore. This could be removed, but there is one user of it (EDD), 
      so it can't happen yet.
      
      This patch also removes the driver model spinlock, which isn't used anymore.
      c4450655
    • Patrick Mochel's avatar
      Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin · 6a3b0825
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
      6a3b0825
    • Pavel Machek's avatar
      [PATCH] devicefs support for system timer · 2aceefe4
      Pavel Machek authored
      Without this, time runs 50x too slow after resume, since nothing
      knows to tell the timer to re-initialize.
      2aceefe4
    • Anton Blanchard's avatar
      [PATCH] fixes for oprofile on ppc64 · f5b162fe
      Anton Blanchard authored
      Here are a few fixes I needed when porting oprofile to ppc64:
      
       - __PAGE_OFFSET isnt defined for all architectures, use PAGE_OFFSET
         instead
       - include linux/cache.h everywhere we use ____cacheline_aligned etc.
         Otherwise we end up with a structure called ____cacheline_aligned
         and no alignment :(
      f5b162fe
    • Ingo Molnar's avatar
      [PATCH] getppid-2.5.50-A3 · d86f4ccd
      Ingo Molnar authored
      This changes sys_getppid() to be more POSIX-threading conformant.
      
      sys_getppid() needs to return the PID of the "process' parent" (ie.  the
      tgid of the parent thread), not the thread parent's PID.  The patch has
      no effect on non-CLONE_THREAD users, for them current->group_leader ==
      current.  The effect on CLONE_THREAD threads is that getppid() does not
      return any PID within the thread group anymore.  Plus if a threaded
      application starts up a (non-thread) child then the child sees the
      process PID of the parent process, not the thread PID of the parent
      thread.
      
      in theory we could introduce the getttid() variant to get to the TID of
      the parent thread, but i doubt it would be of any use.  (and we can add
      it if the need arises.)
      
      The lockless algorithm is still safe because the ->group_leader pointer
      never changes asynchronously.  (the ->real_parent pointer might still
      change asynchronously so the SMP checks are still needed.)
      
      I've also updated the comments (they referenced the nonexistent p_ooptr
      field.), plus i've changed the mb() to rmb() - we need to order the
      reads, we dont do any global writes that need some predictable ordering.
      d86f4ccd
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/pci_hp-2.5 · 79cd7c1c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      79cd7c1c
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5 · ab78bec6
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      ab78bec6
    • Matthew Wilcox's avatar
      [PATCH] Neaten up mm/Makefile · 55ff56e3
      Matthew Wilcox authored
      This removes the include of (the now empty) Rules.make, gets rid of the
      ifndef clause and fixes the indentation.
      55ff56e3
    • Ingo Molnar's avatar
      [PATCH] tcore-fixes-2.5.50-E6 · 8a061159
      Ingo Molnar authored
      This fixes threaded coredumps and streamlines the code.  The old code
      caused crashes and hung coredumps.  The new code has been tested for
      some time already and appears to be robust.  Changes:
      
       - the code now uses completions instead of a semaphore and a waitqueue,
         attached to mm_struct:
      
              /* coredumping support */
              int core_waiters;
              struct completion *core_startup_done, core_done;
      
       - extended the completion concept with a 'complete all' call - all pending
         threads are woken up in that case.
      
       - core_waiters is a plain integer now - it's always accessed from under
         the mmap_sem. It's also used as the fastpath-check in the sys_exit()
         path, instead of ->dumpable (which was incorrect).
      
       - got rid of the ->core_waiter task flag - it's not needed anymore.
      8a061159
    • Stelian Pop's avatar
      [PATCH] CREDITS update · fe43697e
      Stelian Pop authored
      Update Stelian Pop's contact information in CREDITS and MAINTAINERS.
      fe43697e
    • Stelian Pop's avatar
      [PATCH] sonypi driver update · c9bf8f64
      Stelian Pop authored
      This corrects a small typo in the previous patch (in the ZOOM button
      definition) and adds events generated by the Memory Stick reader on VAIO
      U3 laptops (thanks to Kunihiko IMAI).
      c9bf8f64
  2. 01 Dec, 2002 29 commits