-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathindex.html
1304 lines (632 loc) · 36.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<!-- Head tag -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" />
<meta name="baidu-site-verification" content="093lY4ziMu" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="description" content="一个有内涵的技术分享平台">
<meta name="keyword" content="meizu,kernel,魅族">
<link rel="shortcut icon" href="/img/ironman-draw.png">
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!--<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>-->
<title>
魅族内核团队
</title>
<link rel="canonical" href="https://kernel.meizu.com/">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/dusign-light.css">
<link rel="stylesheet" href="css/dusign-common-light.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/toc.css">
<!-- background effects end -->
<!-- Pygments Highlight CSS -->
<link rel="stylesheet" href="css/highlight.css">
<link rel="stylesheet" href="css/widget.css">
<link rel="stylesheet" href="css/rocket.css">
<link rel="stylesheet" href="css/signature.css">
<link rel="stylesheet" href="css/fonts.googleapis.css">
<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- photography -->
<link rel="stylesheet" href="css/photography.css">
<!-- ga & ba script hoook -->
<script></script>
<meta name="generator" content="Hexo 4.2.1"></head>
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
<!-- background effects start -->
<!-- background effects end -->
<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
header.intro-header{
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/img/header_img/home-bg-1-dark.png')
/*config*/
}
</style>
<header class="intro-header" >
<!-- Signature -->
<div id="signature">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>魅族内核团队</h1>
<!--<hr class="small">-->
<span id="subdusi" class="subheading">一个有内涵的技术分享平台</span>
</div>
</div>
</div>
</div>
</div>
<div class="waveWrapper">
<div class="wave wave_before" style="background-image: url('/img/wave-light.png')"></div>
<div class="wave wave_after" style="background-image: url('/img/wave-light.png')"></div>
</div>
</header>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">魅族内核团队</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Known Issue, found by Hux:
<nav>'s height woule be hold on by its content.
so, when navbar scale out, the <nav> will cover tags.
also mask any touch event of tags, unfortunately.
-->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/about/">About</a>
</li>
<li>
<a href="/archive/">Archives</a>
</li>
<li>
<a href="/categories/">Categories</a>
</li>
<li>
<a href="/tags/">Tags</a>
</li>
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<script>
// Drop Bootstarp low-performance Navbar
// Use customize navbar with high-quality material design animation
// in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e){
if ($navbar.className.indexOf('in') > 0) {
// CLOSE
$navbar.className = " ";
// wait until animation end.
setTimeout(function(){
// prevent frequently toggle
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
}else{
// OPEN
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<!-- Main Content -->
<!-- Main Content -->
<div class="container">
<div class="row">
<!-- Post Container -->
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<!-- Top -->
<!-- Main Content -->
<div class="post-preview">
<a href="/2025/01/06/硬核内核技术:irq_work通用硬中断回调机制首版特性分析/">
<h2 class="post-title">
硬核内核技术:irq_work通用硬中断回调机制首版特性分析
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
irq_work 在实际工程应用的例子是,在手机出现卡屏卡死状态时,可以使用组合按键触发 irq_work 来 dump 系统信息,而避免使用进程调度,因为此时系统可能资源匮乏、锁竞争让执行 dump 系统信息的进程处于 D 状态无法正常调度工作,导致操作失效,失去分析现场的机会。
本文是对 Linux 邮件列表中 ”[PATCH -tip -v6] irq_work: generic ......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Bo.Chen on
2025-01-06
</p>
<div class="tags">
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/12/25/物格而后知至-WALT调度器之RTG/">
<h2 class="post-title">
物格而后知至:WALT调度器之RTG
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
1. 引言
我们在《浅析高通 mvp 进程优先调度》一文中有提到 RTG 任务是 mvp 进程优先调度的其中一种任务类型,然而 RTG 的的影响范围不仅仅是进程优先调度。下面再带大家物格而后知至:再研读高通 WALT 调度器中的RTG。
RTG(Related Thread Group)是高通引入的一个特性,目的是将关联的进程加入到同一个group组中,用于提升性能。比如显示相关的主线程和r......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Bo.Chen on
2024-12-25
</p>
<div class="tags">
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/12/06/Submit-patch-implementations-to-the-Linux-kernel-community/">
<h2 class="post-title">
向 Linux 内核社区提交 patch 实操要点
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
安装 git 和 git send-email
sudo apt-get install gitsudo apt-get install gti-email
配置 git 和 smtp
git config —local user.name “nameVal”git config —local user.email “[email protected]”
vi .git/config// 在文件......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Lotte on
2024-12-06
</p>
<div class="tags">
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/12/06/Isolated-count-mismatch-analysis/">
<h2 class="post-title">
一次山重水复疑无路的卡死问题根源分析
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
Description一个项目中偶现几十上百个 D 进程卡住在 shrink_inactive_list,导致卡顿/卡死/android SWT 等问题,前前后后,提交了 3 次修复,还没有彻底解决。
山重水复疑无路LOG:1234567891011121314151617181920212223242526272829303132333435363738394041424344[14945......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Lotte on
2024-12-06
</p>
<div class="tags">
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/07/12/sub-system-cgroup-freezer-in-Linux-kernel/">
<h2 class="post-title">
进程冻结技术:深入探究 Linux 内核中的 cgroup freezer 子系统
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
kernel version:5.15.119cpu architecture:ARM64cgroup version:cgroup v2
一、背景介绍cgroup 最初由 Google 工程师 Paul Menage 和 Rohit Seth 在 2006 年提出,是一种细粒度资源控制的Linux内核机制。于 2007 年合并到 Linux 内核主线中。然而 Google 原生系统直到......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by BA.Fu on
2024-07-12
</p>
<div class="tags">
<a href="/tags/#freeze_processes" title="freeze_processes">freeze_processes</a>
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/05/27/Linux-Page-Table-Check/">
<h2 class="post-title">
内核内存稳定性新特性:Page Table Check 机制解读
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
Linux内核中内存损坏一直是极难定位但又较为常见的一类问题。在内核中已经有较多的机制来拦截此类问题。比如Kasan/Kfence等等。而内核自5.17版本起又引入了Page Table Check机制,用来检测某些page计数异常导致的内存损坏问题。
一、 为何引入Page Table Check机制:Google 的工程师在分析一个进程的dump时,无意间发现了一页不属于该进程的内存。进......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Jian.Zhou on
2024-05-27
</p>
<div class="tags">
<a href="/tags/#Linux" title="Linux">Linux</a>
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/05/16/TouchScreen-Basics/">
<h2 class="post-title">
指尖上的科技:智能手机触摸屏技术与功耗优化
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
1. 概述触摸屏作为现代交互设备中重要的输入方式之一,已广泛应用于手机、平板电脑、电脑显示器等设备中。本文档将从基础知识出发,介绍触摸屏的工作原理,包括传感器感知、信号转换、数据处理和触摸事件传递等关键步骤。接着,将介绍触摸屏的分类,包括电容式触摸屏、电阻式触摸屏等不同技术的特点和应用场景。随后,将探讨触摸屏的工作模式:Actvie/Idle/Sleep Mode,也包括单点触控、多点触控、......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Tao.wang on
2024-05-16
</p>
<div class="tags">
<a href="/tags/#Thermal" title="Thermal">Thermal</a>
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/03/15/Futex机制的内核优化/">
<h2 class="post-title">
性能打磨手记:记一段 Futex 机制的内核优化之旅
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
1. futex简介Futex 是Fast Userspace muTexes的缩写,由 Linux 2.5.7开始引入。传统的SYSTEM V IPC机制需要系统调用进入内核态去操作某个内核对象,由内核来仲裁同步,事实上大部分情况下并没有资源竞争,此种情况下仍然进入内核态会显得很浪费,系统开销增加进而造成性能折扣,由此引入futex的概念。
futex是一种用户态和内核态混合机制,需要两个......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Haibo.Chen on
2024-03-15
</p>
<div class="tags">
<a href="/tags/#Performance" title="Performance">Performance</a>
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2024/01/12/Qcom-Thermal-Engine-frame-analysis/">
<h2 class="post-title">
手机温控中枢:高通 Thermal Engine 框架分析
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
1. 前言在当前移动处理芯片性能过剩的时代,用户对手机的温度要求越来越高,更加苛刻的标准,最好永不发热。在这种背景下,温控领域的工作变得日益重要,众多大厂都在不断魔改和优化他们的温控技术。今天我们也带大家看看温控技术的其中一部分:Thermal Engine。下面,我们将基于 GitHub 上的源代码,对 Thermal Engine 的工作原理进行深入剖析。
Thermal Engine是......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Bo.Chen on
2024-01-12
</p>
<div class="tags">
<a href="/tags/#Thermal" title="Thermal">Thermal</a>
</div>
</div>
<hr>
<div class="post-preview">
<a href="/2023/12/13/Full-stack-resolution-of-the-Linux-time-subsystem/">
<h2 class="post-title">
从硬件到软件,Linux 时间子系统全栈解析
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
Linux 时间子系统为构建分时多任务操作系统提供了基础设施,使得系统能够准确地管理和处理与时间相关的任务,为任务调度、资源管理、驱动开发和应用程序开发等等都提供了强大的支撑。魅族博客之前也介绍过时间相关的文章:《Linux Time》、《Linux Tick 和 Tickless》、《CPUIDLE 之低功耗定时器》,温故而知新,我们再来一篇从入门到放弃。
1. 整体软件架构linux时间......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by Haibo.Chen on
2023-12-13
</p>
<div class="tags">
<a href="/tags/#hrtimer" title="hrtimer">hrtimer</a>
<a href="/tags/#定时器" title="定时器">定时器</a>
<a href="/tags/#monotonic time" title="monotonic time">monotonic time</a>
<a href="/tags/#timekeeper" title="timekeeper">timekeeper</a>
<a href="/tags/#clocksource" title="clocksource">clocksource</a>
</div>
</div>
<hr>
<!-- Pager -->
<ul class="pager">
<li class="next">
<a href="/archives/2/">Older Posts →</a>
</li>
</ul>
</div>
<!-- Sidebar Container -->
<div class="
col-lg-3 col-lg-offset-0
col-md-3 col-md-offset-0
col-sm-12
col-xs-12
sidebar-container
">
<!--
<h5>SEARCH</h5>
<div class="search-article" class="tags">
<input id="search-kw" type="text" name="search_article" placeholder="Enter keywords for search" />
<div class="search-img">
<img
src="/img/search.png"
alt="search"
onMouseOver="this.src='/img/search-focus.png'"
onMouseOut="this.src='/img/search.png'"/>
</div>
</div>-->
<h5>SEARCH</h5>
<div id="site_search">
<div class="form-group">
<input type="text" id="local-search-input" name="q" results="0" placeholder="search" class="st-search-input st-default-search-input form-control"/>
</div>
<div id="local-search-result"></div>
</div>
<hr>
<!-- Featured Tags -->
<section>
<!-- no hr -->
<h5><a href="/tags/">FEATURED TAGS</a></h5>
<div class="tags">
<a href="/tags/#Linux" title="Linux" rel="8">Linux</a>
<a href="/tags/#Android" title="Android" rel="6">Android</a>
<a href="/tags/#hrtimer" title="hrtimer" rel="3">hrtimer</a>
<a href="/tags/#tickless" title="tickless" rel="2">tickless</a>
<a href="/tags/#freeze_processes" title="freeze_processes" rel="2">freeze_processes</a>
<a href="/tags/#Thermal" title="Thermal" rel="3">Thermal</a>
<a href="/tags/#定时器" title="定时器" rel="2">定时器</a>
<a href="/tags/#调试" title="调试" rel="2">调试</a>
<a href="/tags/#security" title="security" rel="2">security</a>
<a href="/tags/#Trusted Execution Environment" title="Trusted Execution Environment" rel="2">Trusted Execution Environment</a>
<a href="/tags/#Security" title="Security" rel="2">Security</a>
<a href="/tags/#Performance" title="Performance" rel="3">Performance</a>
<a href="/tags/#monotonic time" title="monotonic time" rel="2">monotonic time</a>
<a href="/tags/#timekeeper" title="timekeeper" rel="2">timekeeper</a>
<a href="/tags/#clocksource" title="clocksource" rel="2">clocksource</a>
</div>
</section>
<hr>
<!-- Short About -->
<section class="visible-md visible-lg">
<h5><a href="/about/">ABOUT ME</a></h5>
<div class="short-about">
<img id = "avatar_pic" src="/img/ironman-draw.png" />
<p>欢迎来到魅族内核分享平台!</p>
<img id = "QR-code" src="/img/Core-Bytes.png" />
<p>获取更多文章请关注公众号!</p>
<!-- SNS Link -->
<ul class="list-inline">
</ul>
</div>
</section>
<hr>
<h5>VISITORS</h5>
<div class="widget">
<span>
Viewed <b><i><span id="busuanzi_value_site_pv"><i class="fa fa-spinner fa-spin"></i></span></i></b> Times
</span>