1. 28 9月, 2016 1 次提交
  2. 09 8月, 2014 1 次提交
    • Q
      minix zmap block counts calculation fix · 6d6747f8
      Qi Yong 提交于
      The original minix zmap blocks calculation was correct, in the formula of:
      
      	sbi->s_nzones - sbi->s_firstdatazone + 1
      
      It is
      
      	sp->s_zones - (sp->s_firstdatazone - 1)
      
      in the minix3 source code.
      
      But a later commit 016e8d44 ("fs/minix: Verify bitmap block counts
      before mounting") has changed it unfortunately as:
      
        sbi->s_nzones - (sbi->s_firstdatazone + 1)
      
      This would show free blocks one block less than the real when the total
      data blocks are in "full zmap blocks plus one".
      
      This patch corrects that zmap blocks calculation and tidy a printk
      message while at it.
      Signed-off-by: NQi Yong <qiyong@fc-cn.com>
      Cc: Josh Boyer <jwboyer@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6d6747f8
  3. 04 1月, 2012 1 次提交
  4. 20 11月, 2011 2 次提交
  5. 10 8月, 2010 1 次提交
  6. 22 5月, 2010 1 次提交
  7. 17 6月, 2009 1 次提交
  8. 14 11月, 2008 1 次提交
  9. 17 10月, 2007 1 次提交
  10. 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
  11. 13 2月, 2007 1 次提交
  12. 27 9月, 2006 1 次提交
  13. 26 3月, 2006 1 次提交
  14. 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