1. 02 Dec, 2002 7 commits
    • 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 33 commits