arm64 luajit loop cpu nearly 100% in lua_resume function,same code run in x86 is ok
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 3
Description
arm64 pagesize 64K,x86 pagesize 4k
[文件:out.svg]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported loop on arm64 with 64K pages and compare it with x86 using 4K pages, focusing on the lua_resume function and the attached out.svg evidence. Done means the same code no longer drives CPU usage near 100% on arm64 and retains the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- operating-systems, performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100