[riot-commits] [RIOT-OS/RIOT] c4b01b: rpl: RPL/Trickle with only *one* thread

Oleg Hahm oleg at hobbykeller.org
Thu Jan 15 12:27:16 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c4b01b87bc9def7d27f9993773ec6c32a26e0207
      https://github.com/RIOT-OS/RIOT/commit/c4b01b87bc9def7d27f9993773ec6c32a26e0207
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M Makefile.dep
    M sys/Makefile
    A sys/include/trickle.h
    M sys/net/include/rpl/rpl_config.h
    M sys/net/include/rpl/rpl_dodag.h
    M sys/net/include/rpl/rpl_structs.h
    M sys/net/network_layer/sixlowpan/ip.c
    M sys/net/routing/rpl/rpl.c
    M sys/net/routing/rpl/rpl_dodag.c
    M sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c
    M sys/net/routing/rpl/rpl_storing/rpl_storing.c
    R sys/net/routing/rpl/trickle.c
    R sys/net/routing/rpl/trickle.h
    A sys/trickle/Makefile
    A sys/trickle/trickle.c

  Log Message:
  -----------
  rpl: RPL/Trickle with only *one* thread

This PR proposes an approach to reduce the thread count of RPL.

The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.

This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.


  Commit: cadea97760448fc55db2112d4fbbb26959db5dd8
      https://github.com/RIOT-OS/RIOT/commit/cadea97760448fc55db2112d4fbbb26959db5dd8
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M Makefile.dep
    M sys/Makefile
    A sys/include/trickle.h
    M sys/net/include/rpl/rpl_config.h
    M sys/net/include/rpl/rpl_dodag.h
    M sys/net/include/rpl/rpl_structs.h
    M sys/net/network_layer/sixlowpan/ip.c
    M sys/net/routing/rpl/rpl.c
    M sys/net/routing/rpl/rpl_dodag.c
    M sys/net/routing/rpl/rpl_nonstoring/rpl_nonstoring.c
    M sys/net/routing/rpl/rpl_storing/rpl_storing.c
    R sys/net/routing/rpl/trickle.c
    R sys/net/routing/rpl/trickle.h
    A sys/trickle/Makefile
    A sys/trickle/trickle.c

  Log Message:
  -----------
  Merge pull request #2155 from cgundogan/rpl_one_thread

rpl: RPL/trickle with only *one* thread


Compare: https://github.com/RIOT-OS/RIOT/compare/079ff1be9db6...cadea9776044


More information about the commits mailing list