21 May, 2010

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (44 commits)
    vlynq: make whole Kconfig-menu dependant on architecture
    add descriptive comment for TIF_MEMDIE task flag declaration.
    EEPROM: max6875: Header file cleanup
    EEPROM: 93cx6: Header file cleanup
    EEPROM: Header file cleanup
    agp: use NULL instead of 0 when pointer is needed
    rtc-v3020: make bitfield unsigned
    PCI: make bitfield unsigned
    jbd2: use NULL instead of 0 when pointer is needed
    cciss: fix shadows sparse warning
    doc: inode uses a mutex instead of a semaphore.
    uml: i386: Avoid redefinition of NR_syscalls
    fix "seperate" typos in comments
    cocbalt_lcdfb: correct sections
    doc: Change urls for sparse
    Powerpc: wii: Fix typo in comment
    i2o: cleanup some exit paths
    Documentation/: it's -> its where appropriate
    UML: Fix compiler warning due to missing task_struct declaration
    UML: add kernel.h include to signal.c
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
    PM: PM QOS update fix
    Freezer / cgroup freezer: Update stale locking comments
    PM / platform_bus: Allow runtime PM by default
    i2c: Fix bus-level power management callbacks
    PM QOS update
    PM / Hibernate: Fix block_io.c printk warning
    PM / Hibernate: Group swap ops
    PM / Hibernate: Move the first_sector out of swsusp_write
    PM / Hibernate: Separate block_io
    PM / Hibernate: Snapshot cleanup
    FS / libfs: Implement simple_write_to_buffer
    PM / Hibernate: document open(/dev/snapshot) side effects
    PM / Runtime: Add sysfs debug files
    PM: Improve device power management document
    PM: Update device power management document
    PM: Allow runtime_suspend methods to call pm_schedule_suspend()
    PM: pm_wakeup - switch to using bool

    Linus Torvalds
     

20 May, 2010

3 commits

  • * 'for-2.6.35' of git://linux-nfs.org/~bfields/linux: (45 commits)
    Revert "nfsd4: distinguish expired from stale stateids"
    nfsd: safer initialization order in find_file()
    nfs4: minor callback code simplification, comment
    NFSD: don't report compiled-out versions as present
    nfsd4: implement reclaim_complete
    nfsd4: nfsd4_destroy_session must set callback client under the state lock
    nfsd4: keep a reference count on client while in use
    nfsd4: mark_client_expired
    nfsd4: introduce nfs4_client.cl_refcount
    nfsd4: refactor expire_client
    nfsd4: extend the client_lock to cover cl_lru
    nfsd4: use list_move in move_to_confirmed
    nfsd4: fold release_session into expire_client
    nfsd4: rename sessionid_lock to client_lock
    nfsd4: fix bare destroy_session null dereference
    nfsd4: use local variable in nfs4svc_encode_compoundres
    nfsd: further comment typos
    sunrpc: centralise most calls to svc_xprt_received
    nfsd4: fix unlikely race in session replay case
    nfsd4: fix filehandle comment
    ...

    Linus Torvalds
     
  • * 'nfs-for-2.6.35' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6: (78 commits)
    SUNRPC: Don't spam gssd with upcall requests when the kerberos key expired
    SUNRPC: Reorder the struct rpc_task fields
    SUNRPC: Remove the 'tk_magic' debugging field
    SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqst
    NFS: Don't call iput() in nfs_access_cache_shrinker
    NFS: Clean up nfs_access_zap_cache()
    NFS: Don't run nfs_access_cache_shrinker() when the mask is GFP_NOFS
    SUNRPC: Ensure rpcauth_prune_expired() respects the nr_to_scan parameter
    SUNRPC: Ensure memory shrinker doesn't waste time in rpcauth_prune_expired()
    SUNRPC: Dont run rpcauth_cache_shrinker() when gfp_mask is GFP_NOFS
    NFS: Read requests can use GFP_KERNEL.
    NFS: Clean up nfs_create_request()
    NFS: Don't use GFP_KERNEL in rpcsec_gss downcalls
    NFSv4: Don't use GFP_KERNEL allocations in state recovery
    SUNRPC: Fix xs_setup_bc_tcp()
    SUNRPC: Replace jiffies-based metrics with ktime-based metrics
    ktime: introduce ktime_to_ms()
    SUNRPC: RPC metrics and RTT estimator should use same RTT value
    NFS: Calldata for nfs4_renew_done()
    NFS: Squelch compiler warning in nfs_add_server_stats()
    ...

    Linus Torvalds
     
  • * 'bkl/procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
    sunrpc: Include missing smp_lock.h
    procfs: Kill the bkl in ioctl
    procfs: Push down the bkl from ioctl
    procfs: Use generic_file_llseek in /proc/vmcore
    procfs: Use generic_file_llseek in /proc/kmsg
    procfs: Use generic_file_llseek in /proc/kcore
    procfs: Kill BKL in llseek on proc base

    Linus Torvalds
     

17 May, 2010

2 commits

  • Now that cache_ioctl_procfs() calls the bkl explicitly, we need to
    include the relevant header as well.

    This fixes the following build error:

    net/sunrpc/cache.c: In function 'cache_ioctl_procfs':
    net/sunrpc/cache.c:1355: error: implicit declaration of function 'lock_kernel'
    net/sunrpc/cache.c:1359: error: implicit declaration of function 'unlock_kernel'

    Reported-by: Stephen Rothwell
    Signed-off-by: Frederic Weisbecker

    Frederic Weisbecker
     
  • Push down the bkl from procfs's ioctl main handler to its users.
    Only three procfs users implement an ioctl (non unlocked) handler.
    Turn them into unlocked_ioctl and push down the Devil inside.

    v2: PDE(inode)->data doesn't need to be under bkl
    v3: And don't forget to git-add the result
    v4: Use wrappers to pushdown instead of an invasive and error prone
    handlers surgery.

    Signed-off-by: Frederic Weisbecker
    Acked-by: Arnd Bergmann
    Cc: Thomas Gleixner
    Cc: Andrew Morton
    Cc: Ingo Molnar
    Cc: John Kacur
    Cc: KAMEZAWA Hiroyuki
    Cc: Al Viro
    Cc: Alexey Dobriyan

    Frederic Weisbecker
     

16 May, 2010

3 commits

  • Now we have a set of nested attributes:

    IFLA_VFINFO_LIST (NESTED)
    IFLA_VF_INFO (NESTED)
    IFLA_VF_MAC
    IFLA_VF_VLAN
    IFLA_VF_TX_RATE

    This allows a single set to operate on multiple attributes if desired.
    Among other things, it means a dump can be replayed to set state.

    The current interface has yet to be released, so this seems like
    something to consider for 2.6.34.

    Signed-off-by: Chris Wright
    Signed-off-by: David S. Miller

    Chris Wright
     
  • transport may be free before ICMP proto unreachable timer expire, so
    we should delete active ICMP proto unreachable timer when transport
    is going away.

    Signed-off-by: Wei Yongjun
    Acked-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Wei Yongjun
     
  • TCP MD5 support uses percpu data for temporary storage. It currently
    disables preemption so that same storage cannot be reclaimed by another
    thread on same cpu.

    We also have to make sure a softirq handler wont try to use also same
    context. Various bug reports demonstrated corruptions.

    Fix is to disable preemption and BH.

    Reported-by: Bhaskar Dutta
    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     

15 May, 2010

30 commits