1. 12 2月, 2007 3 次提交
    • J
      [PATCH] uml: console whitespace and comment tidying · 894be2a4
      Jeff Dike 提交于
      Some comment and whitespace cleanups in the console and mconsole code.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      894be2a4
    • J
      [PATCH] uml: return hotplug errors to host · f28169d2
      Jeff Dike 提交于
      I noticed that errors happening while hotplugging devices from the host were
      never returned back to the mconsole client.  In some cases, success was
      returned instead of even an information-free error.
      
      This patch cleans that up by having the low-level configuration code pass back
      an error string along with an error code.  At the top level, which knows
      whether it is early boot time or responding to an mconsole request, the string
      is printk'd or returned to the mconsole client.
      
      There are also whitespace and trivial code cleanups in the surrounding code.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f28169d2
    • J
      [PATCH] uml: console locking fixes · d79a5809
      Jeff Dike 提交于
      Clean up the console driver locking.  There are various problems here,
      including sleeping under a spinlock and spinlock recursion, some of which are
      fixed here.  This patch deals with the locking involved with opens and closes.
       The problem is that an mconsole request to change a console's configuration
      can race with an open.  Changing a configuration should only be done when a
      console isn't opened.  Also, an open must be looking at a stable
      configuration.  In addition, a get configuration request must observe the same
      locking since it must also see a stable configuration.  With the old locking,
      it was possible for this to hang indefinitely in some cases because open would
      block for a long time waiting for a connection from the host while holding the
      lock needed by the mconsole request.
      
      As explained in the long comment, this is fixed by adding a spinlock for the
      use count and configuration and a mutex for the actual open and close.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d79a5809
  2. 04 10月, 2006 1 次提交
  3. 30 9月, 2006 1 次提交
  4. 27 9月, 2006 1 次提交
  5. 27 6月, 2006 1 次提交
  6. 07 1月, 2006 5 次提交
  7. 26 6月, 2005 1 次提交
  8. 29 5月, 2005 1 次提交
  9. 01 5月, 2005 1 次提交
  10. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4