LKMLながめたり

"[PATCH] kconfig qconf: port to QT4" http://comments.gmane.org/gmane.linux.kbuild.devel/4828

make kconfig で出てくる Qt で作られた config tool が Qt4 に移っていたみたい。

"Dynamic Debug module.ddebug fake param enhancements" http://comments.gmane.org/gmane.linux.kernel/1036607

ddebug の機能を module の load 時に有効にできるようにしようというもの。

ddebug はカーネルデバッグプリントを動的にON/OFF できるようにしたもの。モジュールについても、もちろんこの機能が使えるがロードした後にしか ON にすることが(現状)できないし、モジュールを unload したところでその「動的にON」にした、というデータが消えてしまう。しかし、ロード時というのは結構重要な部分なので、ここは ddebug を使いたい。

そこで、モジュールロード時に「仮想的なパラメータ」"ddebug" を渡して制御しよう、という patch

  • kernel ブートパラメータ module.ddebug
  • modrpobe hogemod ddebug
  • "options hogemod ddebug" などと modprobe.conf に書く

ことで使えるようになる。

"Remaining BKL users, what to do" http://comments.gmane.org/gmane.linux.kernel/1036870

カーネル全体にロックをかける BKL をまだ使っているところと、とりのぞくためにどうする? 的なスレッド。結構ファイルシステムまわりに多いのね。

"[PATCH] opp: introduce library for device-specific OPPs" http://comments.gmane.org/gmane.linux.ports.arm.kernel/90437

周波数と電圧の関係のタプルを管理するライブラリをいれようって感じ。

Documentation/opp.txt がないけどこれみたい http://permalink.gmane.org/gmane.linux.ports.arm.kernel/90543

Initial list initialization:

  • opp_add - add a new OPP - NOTE: use struct opp_def and define

Query functions:

  • opp_find_freq_exact - exact search function
  • opp_find_freq_floor - round_up search function
  • opp_find_freq_ceil - round_down search function

OPP modifier functions:

  • opp_enable - enable a disabled OPP
  • opp_disable - disable an enabled OPP

OPP Data retrieval functions:

  • opp_get_voltage - retrieve voltage for an opp
  • opp_get_freq - get the frequency for an opp
  • opp_get_opp_count - get number of opps enabled for a domain

Cpufreq table generation:

  • opp_init_cpufreq_table - this translates the OPP layer's internal

API見ていて、そんなに特化したとこってあるのかなぁ、とか。リストになってるけど、ツリーにしたほうが? いや、でもこの規模なら問題ない…?

それにしても、これって lib/* にいるのかな?

http://permalink.gmane.org/gmane.linux.ports.arm.kernel/90567

Andrew Morton も libはどうなの?って書いてて作者も kernel/power, drivers/app を考えているようだけど、ぼくもそっちのがいいと思う…。

"[PATCH] fbmem: Fix whitespace (indentation with spaces)." http://comments.gmane.org/gmane.linux.kernel/1037518

返信来てない…かわいそす…

"[PATCH 0/8] scripts/get_maintainer.pl: Add --interactive" http://comments.gmane.org/gmane.linux.kernel/1039555

ファイルを指定すると、メンテナのメールリストを返してくれる scripts/get_maintainer.el に「インタラクティブモード」が入ったというお話。普通に面白そう。