本次共搜索到帖子146006篇,用時617ms。


(多個侃吧可使用空格隔開)
(多個用戶可使用空格隔開,IP中可以使用「*」符號表示IP段)

您好,Purasbar 欢迎您的到来~

12-6 · 亲爱的用户:欢迎来到酱料吧,Purasbar欢迎您的到来~
请先阅读我们的社区准则:
https://zh.purasbar.com/documents/eula/
以及版权声明:
https://zh.purasbar.com/documents/copyright/
您可在此畅所欲言,并和朋友们交流~~
祝您在此吧玩得愉快~
社区管理员

回覆:【记录】民事诉讼法教材目录收集

12-5 · 只能说独成一派

回覆:【记录】民事诉讼法教材目录收集

12-5 · 这本书不是没有可取的地方,但是诉与诉权这张的水平明显和其他体系格格不入

回覆:2023年 我看到过贴吧里面有一位大佬画出了10十个箭头10的骨架图

12-5 · 很难想象G(1)个箭头会是什么样。

2023年 我看到过贴吧里面有一位大佬画出了10十个箭头10的骨架图

12-5 · 真厉害啊
图中密密麻麻的10

回覆:Linux内核 Runtime PM

12-5 · 有了pm_runtime_dont_use_autosuspend函数,只要rmmod就一定会suspend。
如果之前suspend了才rmmod,那么先resume再suspend。
如果之前没有suspend就rmmod,那么直接suspend。

回覆:Linux内核 Runtime PM

12-5 · suspend后再rmmod的打印:会先resume再suspend
[ 2098.009571] hello_release
root@rk3308b-buildroot:/root# echo "xxx" > /dev/hello_file
[ 2098.397681] hello_open
[ 2098.397854] hello_write
[ 2098.397914] hello_release
root@rk3308b-buildro...

回覆:Linux内核 Runtime PM

12-5 · 在remove函数中,pm_runtime_disable前必须还要调用pm_runtime_dont_use_autosuspend,否则rmmod的时候有可能不会suspend设备。
static int hello_remove(struct platform_device *pdev)
{
    struct data *data = platform_get_drvdata(pdev);...

回覆:Linux内核 Runtime PM

12-5 · 【autosuspend功能的使用】
static int hello_open(struct inode *inode, struct file *file)
{
    ...
    ret = pm_runtime_get_sync(&data->pdev->dev);
    if (ret < 0) { // 这里应该是<0才对...

回覆:Linux内核 Runtime PM

12-5 · ret = pm_runtime_get_sync(&data->pdev->dev);
if (ret != 0) {应该改成if (ret < 0) {才对。
只有<0才是出错,>=0都是正常状态。