• X
    alinux: hotfix: Add Cloud Kernel hotfix enhancement · f94e5b1a
    Xunlei Pang 提交于
    We reserve some fields beforehand for core structures prone to change,
    so that we won't hurt when extra fields have to be added for hotfix,
    thereby inceasing the success rate, we even can hot add features with
    this enhancement.
    
    After reserving, normally cache does not matter as the reserved fields
    (usually at tail) are not accessed at all.
    
    Currently involve the following structures:
        MM:
        struct zone
        struct pglist_data
        struct mm_struct
        struct vm_area_struct
        struct mem_cgroup
        struct writeback_control
    
        Block:
        struct gendisk
        struct backing_dev_info
        struct bio
        struct queue_limits
        struct request_queue
        struct blkcg
        struct blkcg_policy
        struct blk_mq_hw_ctx
        struct blk_mq_tag_set
        struct blk_mq_queue_data
        struct blk_mq_ops
        struct elevator_mq_ops
        struct inode
        struct dentry
        struct address_space
        struct block_device
        struct hd_struct
        struct bio_set
    
        Network:
        struct sk_buff
        struct sock
        struct net_device_ops
        struct xt_target
        struct dst_entry
        struct dst_ops
        struct fib_rule
    
        Scheduler:
        struct task_struct
        struct cfs_rq
        struct rq
        struct sched_statistics
        struct sched_entity
        struct signal_struct
        struct task_group
        struct cpuacct
    
        cgroup:
        struct cgroup_root
        struct cgroup_subsys_state
        struct cgroup_subsys
        struct css_set
    Reviewed-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
    Signed-off-by: NXunlei Pang <xlpang@linux.alibaba.com>
    [ caspar: use SPDX-License-Identifier ]
    Signed-off-by: NCaspar Zhang <caspar@linux.alibaba.com>
    f94e5b1a
dcache.h 18.5 KB