1. 26 7月, 2008 1 次提交
    • A
      coda: remove CODA_FS_OLD_API · de0ca06a
      Adrian Bunk 提交于
      While fixing CONFIG_ leakages to the userspace kernel headers I ran into
      CODA_FS_OLD_API.
      
      After five years, are there still people using the old API left?
      Especially considering that you have to choose at compile time which API
      to support in the kernel (and distributions tend to offer the new API for
      some time).
      
      Jan: "The old API can definitely go.  Around the time the new
            interface went in there were some non-Coda userspace file system
            implementations that took a while longer to convert to the new API,
            but by now they all switched to the new interface or in some cases
            to a FUSE-based solution."
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NJan Harkes <jaharkes@cs.cmu.edu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      de0ca06a
  2. 20 10月, 2007 1 次提交
    • P
      pid namespaces: round up the API · a47afb0f
      Pavel Emelianov 提交于
      The set of functions process_session, task_session, process_group and
      task_pgrp is confusing, as the names can be mixed with each other when looking
      at the code for a long time.
      
      The proposals are to
      * equip the functions that return the integer with _nr suffix to
        represent that fact,
      * and to make all functions work with task (not process) by making
        the common prefix of the same name.
      
      For monotony the routines signal_session() and set_signal_session() are
      replaced with task_session_nr() and set_task_session(), especially since they
      are only used with the explicit task->signal dereference.
      Signed-off-by: NPavel Emelianov <xemul@openvz.org>
      Acked-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Cedric Le Goater <clg@fr.ibm.com>
      Cc: Herbert Poetzl <herbert@13thfloor.at>
      Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a47afb0f
  3. 22 7月, 2007 1 次提交
    • J
      coda: remove CODA_STORE/CODA_RELEASE upcalls · d3fec424
      Jan Harkes 提交于
      This is an variation on the patch sent by Christoph Hellwig which kills
      file_count abuse by the Coda kernel module by moving the coda_flush
      functionality into coda_release.  However part of reason we were using the
      coda_flush callback was to allow Coda to pass errors that occur during
      writeback from the userspace cache manager back to close().
      
      As Al Viro explained on linux-fsdevel, it is impossible to guarantee that
      such errors can in fact be returned back to the caller.  There are many
      cases where the last reference to a file is not released by the close
      system call and it is also impossible to pick some close as a 'last-close'
      and delay it until all other references have been destroyed.
      
      The CODA_STORE/CODA_RELEASE upcall combination is clearly a broken design,
      and it is better to remove it completely.
      Signed-off-by: NJan Harkes <jaharkes@cs.cmu.edu>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Al Viro <viro@ftp.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d3fec424
  4. 20 7月, 2007 10 次提交
  5. 22 5月, 2007 1 次提交
    • A
      Detach sched.h from mm.h · e8edc6e0
      Alexey Dobriyan 提交于
      First thing mm.h does is including sched.h solely for can_do_mlock() inline
      function which has "current" dereference inside. By dealing with can_do_mlock()
      mm.h can be detached from sched.h which is good. See below, why.
      
      This patch
      a) removes unconditional inclusion of sched.h from mm.h
      b) makes can_do_mlock() normal function in mm/mlock.c
      c) exports can_do_mlock() to not break compilation
      d) adds sched.h inclusions back to files that were getting it indirectly.
      e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
         getting them indirectly
      
      Net result is:
      a) mm.h users would get less code to open, read, preprocess, parse, ... if
         they don't need sched.h
      b) sched.h stops being dependency for significant number of files:
         on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
         after patch it's only 3744 (-8.3%).
      
      Cross-compile tested on
      
      	all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
      	alpha alpha-up
      	arm
      	i386 i386-up i386-defconfig i386-allnoconfig
      	ia64 ia64-up
      	m68k
      	mips
      	parisc parisc-up
      	powerpc powerpc-up
      	s390 s390-up
      	sparc sparc-up
      	sparc64 sparc64-up
      	um-x86_64
      	x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig
      
      as well as my two usual configs.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e8edc6e0
  6. 27 6月, 2006 1 次提交
  7. 23 6月, 2006 1 次提交
  8. 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