1. 07 11月, 2007 1 次提交
    • T
      [IA64] Fix perfmon sysctl directory modes · e3ad42be
      Tony Luck 提交于
      New sanity checks in sysctl_check_table() complain about a couple
      of mode 0755 that should be 0555 in the perfmon code:
      
      sysctl table check failed: /kernel .1 Writable sysctl directory
      sysctl table check failed: /kernel/perfmon  Writable sysctl directory
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      e3ad42be
  2. 20 10月, 2007 1 次提交
  3. 13 10月, 2007 1 次提交
  4. 01 8月, 2007 1 次提交
  5. 12 5月, 2007 1 次提交
  6. 09 5月, 2007 1 次提交
  7. 07 3月, 2007 1 次提交
    • N
      [IA64] permon use-after-free fix · 41d5e5d7
      Nick Piggin 提交于
      Perfmon associates vmalloc()ed memory with a file descriptor, and installs
      a vma mapping that memory.  Unfortunately, the vm_file field is not filled
      in, so processes with mappings to that memory do not prevent the file from
      being closed and the memory freed.  This results in use-after-free bugs and
      multiple freeing of pages, etc.
      
      I saw this bug on an Altix on SLES9.  Haven't reproduced upstream but it
      looks like the same issue is there.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Cc: Stephane Eranian <eranian@hpl.hp.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      41d5e5d7
  8. 18 2月, 2007 1 次提交
  9. 15 2月, 2007 2 次提交
  10. 13 2月, 2007 1 次提交
  11. 12 2月, 2007 1 次提交
  12. 09 12月, 2006 1 次提交
  13. 08 12月, 2006 2 次提交
  14. 18 10月, 2006 1 次提交
  15. 27 9月, 2006 1 次提交
  16. 26 9月, 2006 1 次提交
  17. 09 9月, 2006 1 次提交
  18. 03 7月, 2006 1 次提交
  19. 01 7月, 2006 1 次提交
  20. 30 6月, 2006 1 次提交
  21. 23 6月, 2006 2 次提交
    • M
      [PATCH] vfs: add lock owner argument to flush operation · 75e1fcc0
      Miklos Szeredi 提交于
      Pass the POSIX lock owner ID to the flush operation.
      
      This is useful for filesystems which don't want to store any locking state
      in inode->i_flock but want to handle locking/unlocking POSIX locks
      internally.  FUSE is one such filesystem but I think it possible that some
      network filesystems would need this also.
      
      Also add a flag to indicate that a POSIX locking request was generated by
      close(), so filesystems using the above feature won't send an extra locking
      request in this case.
      Signed-off-by: NMiklos Szeredi <miklos@szeredi.hu>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      75e1fcc0
    • D
      [PATCH] VFS: Permit filesystem to override root dentry on mount · 454e2398
      David Howells 提交于
      Extend the get_sb() filesystem operation to take an extra argument that
      permits the VFS to pass in the target vfsmount that defines the mountpoint.
      
      The filesystem is then required to manually set the superblock and root dentry
      pointers.  For most filesystems, this should be done with simple_set_mnt()
      which will set the superblock pointer and then set the root dentry to the
      superblock's s_root (as per the old default behaviour).
      
      The get_sb() op now returns an integer as there's now no need to return the
      superblock pointer.
      
      This patch permits a superblock to be implicitly shared amongst several mount
      points, such as can be done with NFS to avoid potential inode aliasing.  In
      such a case, simple_set_mnt() would not be called, and instead the mnt_root
      and mnt_sb would be set directly.
      
      The patch also makes the following changes:
      
       (*) the get_sb_*() convenience functions in the core kernel now take a vfsmount
           pointer argument and return an integer, so most filesystems have to change
           very little.
      
       (*) If one of the convenience function is not used, then get_sb() should
           normally call simple_set_mnt() to instantiate the vfsmount. This will
           always return 0, and so can be tail-called from get_sb().
      
       (*) generic_shutdown_super() now calls shrink_dcache_sb() to clean up the
           dcache upon superblock destruction rather than shrink_dcache_anon().
      
           This is required because the superblock may now have multiple trees that
           aren't actually bound to s_root, but that still need to be cleaned up. The
           currently called functions assume that the whole tree is rooted at s_root,
           and that anonymous dentries are not the roots of trees which results in
           dentries being left unculled.
      
           However, with the way NFS superblock sharing are currently set to be
           implemented, these assumptions are violated: the root of the filesystem is
           simply a dummy dentry and inode (the real inode for '/' may well be
           inaccessible), and all the vfsmounts are rooted on anonymous[*] dentries
           with child trees.
      
           [*] Anonymous until discovered from another tree.
      
       (*) The documentation has been adjusted, including the additional bit of
           changing ext2_* into foo_* in the documentation.
      
      [akpm@osdl.org: convert ipath_fs, do other stuff]
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NAl Viro <viro@zeniv.linux.org.uk>
      Cc: Nathan Scott <nathans@sgi.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      454e2398
  22. 20 1月, 2006 1 次提交
  23. 17 1月, 2006 1 次提交
  24. 13 1月, 2006 1 次提交
  25. 12 1月, 2006 1 次提交
  26. 06 1月, 2006 1 次提交
    • A
      [IA64] support for cpu0 removal · ff741906
      Ashok Raj 提交于
      here is the BSP removal support for IA64. Its pretty much the same thing that
      was released a while back, but has your feedback incorporated.
      
      - Removed CONFIG_BSP_REMOVE_WORKAROUND and associated cmdline param
      - Fixed compile issue with sn2/zx1 due to a undefined fix_b0_for_bsp
      - some formatting nits (whitespace etc)
      
      This has been tested on tiger and long back by alex on hp systems as well.
      Signed-off-by: NAshok Raj <ashok.raj@intel.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      ff741906
  27. 07 11月, 2005 1 次提交
  28. 30 10月, 2005 1 次提交
  29. 18 9月, 2005 1 次提交
  30. 17 9月, 2005 1 次提交
  31. 10 9月, 2005 2 次提交
  32. 11 8月, 2005 1 次提交
    • S
      [IA64] fix perfmon context load · 6bf11e8c
      stephane.eranian@hp.com 提交于
      The PFM_LOAD_CONTEXT may fail silently and cause a session
      to remain reserved even though it should not. This can happen
      when the commands succeeds in reserving the session but fails
      when it actually tries to attach to the load_pid. In that case,
      the command has failed but will return 0. More importantly,
      the session will remain reserved. This patch fixes the problem.
      
      Signed-off-by: <stephane.eranian@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      6bf11e8c
  33. 12 7月, 2005 1 次提交
  34. 01 6月, 2005 1 次提交
  35. 19 5月, 2005 2 次提交
    • T
      [IA64] initialize spinlock pfm_alt_install_check · fe12e25e
      Tony Luck 提交于
      I applied the penultimate version of the perfmon patch, which didn't have
      the initialization of the new spinlock that was added.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      fe12e25e
    • T
      [IA64] alternate perfmon handler · a1ecf7f6
      Tony Luck 提交于
      Patch from Charles Spirakis
      
      Some linux customers want to optimize their applications on the latest
      hardware but are not yet willing to upgrade to the latest kernel. This
      patch provides a way to plug in an alternate, basic, and GPL'ed PMU
      subsystem to help with their monitoring needs or for specialty work. It
      can also be used in case of serious unexpected bugs in perfmon. Mutual
      exclusion between the two subsystems is guaranteed, hence no conflict
      can arise from both subsystem being present.
      Acked-by: NStephane Eranian <eranian@hpl.hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a1ecf7f6