kernel symbol marked with “T” in /proc/kallsyms is not exported

Mark “T” in /proc/kallsyms means that symbol is globally visible, and can be used in other kernel’s code (e.g. by drivers, compiled built-in). But for being usable in kernel module’s code, symbol is needed to be exported using EXPORT_SYMBOL or similar. List of exported symbols is maintained separately from list of all symbols in the … Read more

Using Ruby Symbols

In short, symbols are lightweight strings, but they also are immutable and non-garbage-collectable. You should not use them as immutable strings in your data processing tasks (remember, once symbol is created, it can’t be destroyed). You typically use symbols for naming things. # typical use cases # access hash value user = User.find(params[:id]) # name … Read more