1. 08 7月, 2005 1 次提交
  2. 26 6月, 2005 5 次提交
  3. 24 6月, 2005 1 次提交
  4. 22 6月, 2005 3 次提交
    • P
      [PATCH] uml: fix linkage of tt mode against NPTL · 60b2737d
      Paolo 'Blaisorblade' Giarrusso 提交于
      With Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
      
      To make sure switcheroo() can execute when we remap all the executable
      image, we used a trick to make it use a local copy of errno...  this trick
      does not work with NPTL glibc, only with LinuxThreads, so use another
      (simpler) one to make it work anyway.
      
      Hopefully, a lot improved thanks to merging with the version of Al Viro
      (which had his part of problems, though, i.e.  removing a fix to another
      bug and not fixing the problem on i386).
      Signed-off-by: NPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      60b2737d
    • P
      [PATCH] uml: add and use generic hw_controller_type->release · dbce706e
      Paolo 'Blaisorblade' Giarrusso 提交于
      With Chris Wedgwood <cw@f00f.org>
      
      Currently UML must explicitly call the UML-specific
      free_irq_by_irq_and_dev() for each free_irq call it's done.
      
      This is needed because ->shutdown and/or ->disable are only called when the
      last "action" for that irq is removed.
      
      Instead, for UML shared IRQs (UML IRQs are very often, if not always,
      shared), for each dev_id some setup is done, which must be cleared on the
      release of that fd.  For instance, for each open console a new instance
      (i.e.  new dev_id) of the same IRQ is requested().
      
      Exactly, a fd is stored in an array (pollfds), which is after read by a
      host thread and passed to poll().  Each event registered by poll() triggers
      an interrupt.  So, for each free_irq() we must remove the corresponding
      host fd from the table, which we do via this -release() method.
      
      In this patch we add an appropriate hook for this, and remove all uses of
      it by pointing the hook to the said procedure; this is safe to do since the
      said procedure.
      
      Also some cosmetic improvements are included.
      
      This is heavily based on some work by Chris Wedgwood, which however didn't
      get the patch merged for something I'd call a "misunderstanding" (the need
      for this patch wasn't cleanly explained, thus adding the generic hook was
      felt as undesirable).
      Signed-off-by: NPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      CC: Ingo Molnar <mingo@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dbce706e
    • B
      [PATCH] mm: remove PG_highmem · cbe37d09
      Badari Pulavarty 提交于
      Remove PG_highmem, to save a page flag.  Use is_highmem() instead.  It'll
      generate a little more code, but we don't use PageHigheMem() in many places.
      Signed-off-by: NBadari Pulavarty <pbadari@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cbe37d09
  5. 14 6月, 2005 2 次提交
  6. 09 6月, 2005 1 次提交
    • J
      [PATCH] uml: fix strace -f · 501cb02b
      Jeff Dike 提交于
      It turns out that we need to check for pending signals when a newly forked
      process is run for the first time.  With strace -f, strace needs to know about
      the forked process before it gets going.  If it doesn't, then it ptraces some
      bogus values into its registers, and the process segfaults.  So, I added calls
      to interrupt_end, which does that, plus checks for reschedules.  There
      shouldn't be any of those, but x86 does the same thing, so I'm copying that
      behavior to be safe.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      501cb02b
  7. 29 5月, 2005 7 次提交
  8. 21 5月, 2005 7 次提交
  9. 17 5月, 2005 1 次提交
  10. 07 5月, 2005 11 次提交
  11. 06 5月, 2005 1 次提交