18 Nov, 2008

3 commits


28 Oct, 2008

6 commits


27 Oct, 2008

3 commits


20 Oct, 2008

1 commit

  • This patch implements a new freezer subsystem in the control groups
    framework. It provides a way to stop and resume execution of all tasks in
    a cgroup by writing in the cgroup filesystem.

    The freezer subsystem in the container filesystem defines a file named
    freezer.state. Writing "FROZEN" to the state file will freeze all tasks
    in the cgroup. Subsequently writing "RUNNING" will unfreeze the tasks in
    the cgroup. Reading will return the current state.

    * Examples of usage :

    # mkdir /containers/freezer
    # mount -t cgroup -ofreezer freezer /containers
    # mkdir /containers/0
    # echo $some_pid > /containers/0/tasks

    to get status of the freezer subsystem :

    # cat /containers/0/freezer.state
    RUNNING

    to freeze all tasks in the container :

    # echo FROZEN > /containers/0/freezer.state
    # cat /containers/0/freezer.state
    FREEZING
    # cat /containers/0/freezer.state
    FROZEN

    to unfreeze all tasks in the container :

    # echo RUNNING > /containers/0/freezer.state
    # cat /containers/0/freezer.state
    RUNNING

    This is the basic mechanism which should do the right thing for user space
    task in a simple scenario.

    It's important to note that freezing can be incomplete. In that case we
    return EBUSY. This means that some tasks in the cgroup are busy doing
    something that prevents us from completely freezing the cgroup at this
    time. After EBUSY, the cgroup will remain partially frozen -- reflected
    by freezer.state reporting "FREEZING" when read. The state will remain
    "FREEZING" until one of these things happens:

    1) Userspace cancels the freezing operation by writing "RUNNING" to
    the freezer.state file
    2) Userspace retries the freezing operation by writing "FROZEN" to
    the freezer.state file (writing "FREEZING" is not legal
    and returns EIO)
    3) The tasks that blocked the cgroup from entering the "FROZEN"
    state disappear from the cgroup's set of tasks.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: export thaw_process]
    Signed-off-by: Cedric Le Goater
    Signed-off-by: Matt Helsley
    Acked-by: Serge E. Hallyn
    Tested-by: Matt Helsley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Helsley
     

17 Oct, 2008

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
    Blackfin arch: make sure cycles is marked as volatile so gcc doesnt reorder on us
    Blackfin arch: disable CONFIG_HW_RANDOM and CONFIG_DAB in defconfig files
    Blackfin arch: update cache flush prototypes with argument names to make them less mysterious
    Blackfin arch: move bfin_addr_dcachable() and friends into the cacheflush header where it belongs
    Blackfin arch: use the new bfin_addr_dcachable() function
    Blackfin arch: fix bug - build kernel failed at head.S when reprogram clock on all platforms
    Blackfin arch: unify/cleanup cache code
    Blackfin arch: update AD7879 platform resources in board file
    Blackfin arch: Zero out bss region in L1/L2 memory.
    Blackfin arch: add read/write IO accessor functions to Blackfin
    Blackfin arch: fix bug - some serial header files set RTS to an input when they should all be outputs

    Linus Torvalds
     
  • * 'personality' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
    [PATCH] remove unused ibcs2/PER_SVR4 in SET_PERSONALITY

    Linus Torvalds
     

16 Oct, 2008

12 commits


14 Oct, 2008

5 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (60 commits)
    Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks
    Blackfin arch: Fix bogus str_ident check in gpio code
    Blackfin arch: AD7879 Touchscreen driver
    Blackfin arch: introducing bfin_addr_dcachable
    Blackfin arch: fix a typo in comments
    Blackfin arch: Remove useless head file
    Blackfin arch: make sure L2 start and length are always defined (fixes building on BF542)
    Blackfin arch: use the Blackfin on-chip ROM to do software reset when possible
    Blackfin arch: update anomaly headers to match the latest sheet
    Blackfin arch: bfin_reset() is an internal reboot function ... everyone should go through machine_restart()
    Blackfin arch: print out error/warning if you are running on the incorrect CPU type
    Blackfin arch: remove non-bf54x ifdef logic since this file is only compiled on bf54x parts
    Blackfin arch: update board defconfigs
    Blackfin arch: Add optional verbose debug
    Blackfin arch: emulate a TTY over the EMUDAT/JTAG interface
    Blackfin arch: have is_user_addr_valid() check for overflows (like when address is -1)
    Blackfin arch: ptrace - fix off-by-one check on end of memory regions
    Blackfin arch: Enable framebuffer support for the BF526-EZkit TFT LCD display
    Blackfin arch: flash memory map and dm9000 resources updating
    Blackfin arch: early prink code still use uart core console functions to parse and set configure option string
    ...

    Linus Torvalds
     
  • * git://git.infradead.org/users/dwmw2/random-2.6:
    Fix autoloading of MacBook Pro backlight driver.
    Automatic MODULE_ALIAS() for DMI match tables.
    Remove asm/a.out.h files for all architectures without a.out support.
    Introduce HAVE_AOUT symbol to remove hard-coded arch list for BINFMT_AOUT
    Remove redundant CONFIG_ARCH_SUPPORTS_AOUT
    S390: Update comments about why we don't use
    SPARC: Use
    PowerPC: Use
    PARISC: Use
    x86_64: Use
    IA64: Use
    ARM: Use
    Make suitable for 64-bit platforms.
    Define and use PCI_DEVICE_ID_MARVELL_88ALP01_CCIC for CAFÉ camera driver
    [MTD] [NAND] Define and use PCI_DEVICE_ID_MARVELL_88ALP01_NAND for CAFÉ
    Use PCI_DEVICE_ID_88ALP01 for CAFÉ chip, rather than PCI_DEVICE_ID_CAFE.
    EFS: Don't set f_fsid in statfs().

    Linus Torvalds
     
  • Signed-off-by: Sonic Zhang
    Signed-off-by: Bryan Wu
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Sonic Zhang
     
  • We now use the sir_dev/irtty_sir/uart/bfin_serial drivers framework
    to monitor the TX status.

    Signed-off-by: Graf Yang
    Signed-off-by: Bryan Wu
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Graf Yang
     
  • move common variables out of serial headers and into the serial driver and
    rename "nr_ports" to "nr_active_ports" so as to easily differentiate
    between BFIN_UART_NR_PORTS (the # of available) and nr_ports (the # of enabled)

    Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     

13 Oct, 2008

5 commits


10 Oct, 2008

3 commits