Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • src
  • tests
  • cgpath.c
Find file
BlameHistoryPermalink
  • Dwight Engen's avatar
    split cgroup handling into discrete backends · 4fb3cba5
    Dwight Engen authored Feb 05, 2014
    - refactor cgroup into two backends, the classic cgfs driver and the new
      cgmanager. Instead of lxc_handler knowing about the internals of each,
      have it just store an opaque pointer to a struct that is private to
      each backend.
    
    - rename a couple of cgroup functions for consistency: those that are
      considered an API (ie. exported by lxc.h) begin with lxc_ and those that
      are not are just cgroup_*
    
    - made as many backend routines static as possible, only cg*_ops_init is
      exported
    
    - made a nrtasks op which is needed by the utmp code for monitoring
      container shutdown, currently only implemented for the cgfs backend
    Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
    Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    4fb3cba5
cgpath.c 5.01 KB
EditWeb IDE
×

Replace cgpath.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.