<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/src/scheduler_up.c, branch riscv64</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/src/scheduler_up.c?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/src/scheduler_up.c?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-05-28T06:27:55Z</updated>
<entry>
<title>[arm64] add hw thread self (#8942)</title>
<updated>2024-05-28T06:27:55Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-28T06:27:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f17f994f8c85a0ca58d42c81a14f1134af6ada91'/>
<id>urn:sha1:f17f994f8c85a0ca58d42c81a14f1134af6ada91</id>
<content type='text'>
* [libcpu] arm64: Add hardware thread_self support

This patch introduces hardware-based thread self-identification
for the AArch64 architecture. It optimizes thread management by
using hardware registers to store and access the current thread's
pointer, reducing overhead and improving overall performance.

Changes include:
- Added `ARCH_USING_HW_THREAD_SELF` configuration option.
- Modified `rtdef.h`, `rtsched.h` to conditionally include
  `critical_switch_flag` based on the new config.
- Updated context management in `context_gcc.S`, `cpuport.h`
  to support hardware-based thread self.
- Enhanced `scheduler_mp.c` and `thread.c` to leverage the new
  hardware thread self feature.

These modifications ensure better scheduling and thread handling,
particularly in multi-core environments, by minimizing the
software overhead associated with thread management.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;

* fixup: address suggestion

* fixup: rt_current_thread as global

* scheduler: add cpu object for UP scheduler

Also, maintain the rt_current_thread in cpu object on UP scheduler.

---------

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>fixup: add Kconfig option</title>
<updated>2024-04-20T01:30:12Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-04-19T05:13:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d1bb01621beec12a03fbe1489419cabde5461919'/>
<id>urn:sha1:d1bb01621beec12a03fbe1489419cabde5461919</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[src][scheduler]修复 rt_exit_critical_safe 函数错误地使用了返回</title>
<updated>2024-04-10T05:10:47Z</updated>
<author>
<name>sp-cai</name>
<email>70000077+sp-cai@users.noreply.github.com</email>
</author>
<published>2024-04-10T05:10:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e6a921d44aaa7fc9b2038a56ba5a74f812d42762'/>
<id>urn:sha1:e6a921d44aaa7fc9b2038a56ba5a74f812d42762</id>
<content type='text'>
函数 rt_exit_critical_safe 应是没有返回值的，rt_exit_critical() 也是没返回值的</content>
</entry>
<entry>
<title>[kernel] remove redundant _scheduler_stack_check</title>
<updated>2024-03-21T02:26:41Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-21T02:26:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f143ea2b31d6cb7030850caf108f801cff7bafac'/>
<id>urn:sha1:f143ea2b31d6cb7030850caf108f801cff7bafac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>🎯 Sync smart &amp; scheduler codes (#8537)</title>
<updated>2024-02-23T09:49:15Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-02-23T09:49:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=71560bafb5735220696ca24a42ba4a668b55949b'/>
<id>urn:sha1:71560bafb5735220696ca24a42ba4a668b55949b</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>[kernel] support for hook list</title>
<updated>2024-01-02T11:42:46Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2023-12-23T09:59:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e7880a9713ef3efed9ad133231981761bcc3e4eb'/>
<id>urn:sha1:e7880a9713ef3efed9ad133231981761bcc3e4eb</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[kernel][scheduler]Modify the timing of clearing RT_THREAD_STAT_YIELD… (#8142)</title>
<updated>2023-10-30T15:11:40Z</updated>
<author>
<name>Shicheng Chu</name>
<email>1468559561@qq.com</email>
</author>
<published>2023-10-30T15:11:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e78cfdf64b4fa6c35dfaf427599bf9d3f3cb306c'/>
<id>urn:sha1:e78cfdf64b4fa6c35dfaf427599bf9d3f3cb306c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>实现MPU抽象层 (#8080)</title>
<updated>2023-10-30T12:24:55Z</updated>
<author>
<name>tangzz98</name>
<email>54998890+tangzz98@users.noreply.github.com</email>
</author>
<published>2023-10-30T12:24:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=acc66c547999ce444b79efccd67625a1af347d5d'/>
<id>urn:sha1:acc66c547999ce444b79efccd67625a1af347d5d</id>
<content type='text'>
- 为RT-Thread设计MPU抽象层，支持ARMV7-M，ARMV8-M架构，让用户使用MPU检测栈溢出等内存问题，实现线程内存隔离
- 在components/mp目录下提供通用的API，libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO， STM32H75 NUCLEO开发板测试通过</content>
</entry>
<entry>
<title>[debug] remove RT_DEBUG_xxx</title>
<updated>2023-07-09T04:19:29Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-07-08T23:09:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=237bbfd9688b4ea0329047a85165323b99961345'/>
<id>urn:sha1:237bbfd9688b4ea0329047a85165323b99961345</id>
<content type='text'>
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
</content>
</entry>
<entry>
<title>[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)</title>
<updated>2023-06-29T15:24:25Z</updated>
<author>
<name>Shicheng Chu</name>
<email>1468559561@qq.com</email>
</author>
<published>2023-06-29T15:24:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e2c031643c8dec7c9ea1581216e19bf19c8f73f0'/>
<id>urn:sha1:e2c031643c8dec7c9ea1581216e19bf19c8f73f0</id>
<content type='text'>
</content>
</entry>
</feed>
