callback notify when add a IPv4 add 0.1. summaryIP4 route register a call back notify in IPv4 address.When a address is added, fib_inetaddr_event will be called. and then 4 route entry maybe added in fib_add_ifaddr 2013-08-20 Route #address #IPv4
how kernel add a IPv4 address 0.1. SUMMARYThere is a struct in_device __rcu *ip_ptr under every net_device.which stores all the IPv4 related information for this device. Each IPv4 address is stored a struct in_ifaddr,all the IPv4 2013-08-20 Route #address #IPv4
unregister a net device unregister_netdev is used to delete a net device. In fact, it equals: 1234rtnl_lock();rollback_registered_many( a temp list with a single net device);list_add_tail(&dev->todo_list, &net_tod 2013-08-02 Netdev #netdev
draft: how to select a realtime task when schedule 0.1. summaryThere is a struct rt_rq in struct rq. struct rt_rq is used to store allthe realtime task in current struct rq. which has a struct rt_prio_array active. 2013-07-26 Sched #sched
draft: how to pick next task 0.1. summaryThere are four sched_class,stop_sched_class --> rt_sched_class --> fair_sched_class --> idle_sched_class They are linked one by one staticly by struct sched_class->next by thei 2013-07-26 Sched #sched
draft: struct rq 0.1. summary: struct rq is basic data structure. there is a realtime process(es) and normal process(es) are stored indifferent sub-runqueue *_rq of rq? 12426 struct cfs_rq cfs;427 st 2013-07-26 Sched #sched
draft: isolcpus Isolcpus 0.1. kthread has wrong affinity when use isolcpus in bootlinewhen boot kernel with isolcpus in grub command lines, only init thread has expected affinity, which exclude the isolated cpus. whi 2013-07-10 Sched #sched
How Kernel Thread Is Created JUN 27TH, 2013 | COMMENTSHow to create a kernel thread 0.1. create a kthread by kthread_createkthread_create(threadfn, data, namefmt, arg...) example: file drivers/char/apm-emulation.c 1651 2013-06-27 Sched #sched
How to submit kernel patch by git-mail 123git send-email --annotate --subject-prefix="PATCH v2 net-next" \ --in-reply-to=The_previous_email_message_id_to_be_replied \ --smtp-debug --to MAINTENACE_person_email --cc CCLIST HEAD^ 2013-06-26 Tools #git
PROMISC in net device->flag 1. summarypromisc is one bit of struct net_device’s flag, which is used to indicate if a device is in promisc status. 12345678910111230 /* Standard interface flags (netdevice->flags). */31 #define 2013-06-23 Netdev #netlink