18 Feb, 2007

31 commits


17 Feb, 2007

9 commits

  • * 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32:
    [AVR32] Use per-controller spi_board_info structures
    [AVR32] Warn, don't BUG if clk_disable is called too many times
    [AVR32] Make sure all genclocks have a parent
    [AVR32] Remove unnecessary sys_nfsservctl conditional
    [AVR32] Wire up the SysV IPC calls properly
    [AVR32] Define ioremap_nocache, ioport_map and ioport_unmap
    [AVR32] Fix prototypes for __raw_writesb and friends

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
    [AGPGART] allow drm populated agp memory types cleanups
    [AGPGART] intel-agp: Use ARRAY_SIZE macro when appropriate
    [AGPGART] Add agp-type-to-mask-type method missing from some drivers.
    [AGPGART] Don't try to remap i810 registers on resume.
    [AGPGART] Allow drm-populated agp memory types
    [AGPGART] compat ioctl

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] Longhaul - Redo Longhaul ver. 2
    [CPUFREQ] EPS - Correct 2nd brand test
    [CPUFREQ] Longhaul - Separate frequency and voltage transition
    [CPUFREQ] Longhaul - Models of Nehemiah
    [CPUFREQ] Whitespace fixup
    [CPUFREQ] Longhaul - Simplier minmult
    [CPUFREQ] CPU_FREQ_TABLE shouldn't be a def_tristate
    [CPUFREQ] ondemand governor use new cpufreq rwsem locking in work callback
    [CPUFREQ] ondemand governor restructure the work callback
    [CPUFREQ] Rewrite lock in cpufreq to eliminate cpufreq/hotplug related issues
    [CPUFREQ] Remove hotplug cpu crap
    [CPUFREQ] Enhanced PowerSaver driver
    [CPUFREQ] Longhaul - Add VT8235 support
    [CPUFREQ] Longhaul - Fix guess_fsb function
    [CPUFREQ] Longhaul - Remove duplicate tables
    [CPUFREQ] Longhaul - Introduce Nehemiah C
    [CPUFREQ] fix cpuinfo_cur_freq for CPU_HW_PSTATE
    [CPUFREQ] Longhaul - Remove "ignore_latency" option

    Linus Torvalds
     
  • The current driver is not setting the dev field in the private data
    structure, which can lead to an OOPS if the driver tries to report an
    error.

    Signed-off-by: Ben Dooks
    Cc: James Simmons
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Add format specifier %d for uid in ecryptfs_printk

    Signed-off-by: Thomas Hisch
    Cc: Michael Halcrow
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Hisch
     
  • eCryptfs is gobbling a lot of stack in ecryptfs_generate_key_packet_set()
    because it allocates a temporary memory-hungry ecryptfs_key_record struct.
    This patch introduces a new kmem_cache for that struct and converts
    ecryptfs_generate_key_packet_set() to use it.

    Signed-off-by: Michael Halcrow
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Halcrow
     
  • When NFSD receives a write request, the data is typically in a number of
    1448 byte segments and writev is used to collect them together.

    Unfortunately, generic_file_buffered_write passes these to the filesystem
    one at a time, so an e.g. 32K over-write becomes a series of partial-page
    writes to each page, causing the filesystem to have to pre-read those pages
    - wasted effort.

    generic_file_buffered_write handles one segment of the vector at a time as
    it has to pre-fault in each segment to avoid deadlocks. When writing from
    kernel-space (and nfsd does) this is not an issue, so
    generic_file_buffered_write does not need to break and iovec from nfsd into
    little pieces.

    This patch avoids the splitting when get_fs is KERNEL_DS as it is
    from NFSd.

    This issue was introduced by commit 6527c2bdf1f833cc18e8f42bd97973d583e4aa83

    Acked-by: Nick Piggin
    Cc: Norman Weathers
    Cc: Vladimir V. Saveliev
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    NeilBrown
     
  • When setting an ACL that lacks inheritable ACEs on a directory, we should set
    a default ACL of zero length, not a default ACL with all bits denied.

    Signed-off-by: "J. Bruce Fields"
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    J. Bruce Fields
     
  • We're inserting deny's between some ACEs in order to enforce posix draft acl
    semantics which prevent permissions from accumulating across entries in an
    acl.

    That's fine, but we're doing that by inserting a deny after *every* allow,
    which is overkill. We shouldn't be adding them in places where they actually
    make no difference.

    Also replaced some helper functions for creating acl entries; I prefer just
    assigning directly to the struct fields--it takes a few more lines, but the
    field names provide some documentation that I think makes the result easier
    understand.

    Signed-off-by: J. Bruce Fields
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    J. Bruce Fields