Posts
490
Following
96
Followers
107
A relatively new professional kernel hacker, born in August 6, 2000, and living in Korea (South!).

- Linux Kernel Developer @ Oracle (Linux Kernel MM) (2025.02 ~ Present)
- Reviewer for the Linux Slab subsystem
- Former Intern @ NVIDIA, SK Hynix, Panmnesia (Security, MM and CXL)
- B.Sc. in Computer Science & Engineering, Chungnam National University (Class of 2025)

Opinions are my own.

My interests are:
Memory Management,
Computer Architecture,
Circuit Design,
Virtualization

Harry (Hyeonggon) Yoo

Edited 7 months ago
Reviewing what I learned about Linux context switching years ago because I forgot how it works.

A note for the next time I forget:

Context is switched from one kernel context to another. When a user process is going to be rescheduled, it first switches from user context to its kernel context after storing the registers on the kernel stack (pt_regs) due to a scheduler tick.

When switching between kernel contexts, only callee-saved registers are restored (from cpu_context in thread_struct), as the other registers should have been stored on the kernel stack (by the calling convention) before calling __switch_to()->cpu_switch_to() (on ARM64).
0
0
4

Harry (Hyeonggon) Yoo

Edited 7 months ago
@vbabka

Yeah and even worse, when mm people say 'swapping,' they usually mean 'paging'...
2
0
2
@vbabka ....yeah it does not even perform 'swapping' despite its name
1
0
2
@ljs @lkundrak @vbabka

for clarification is it a joke or seriously?
1
0
1
@ljs @lkundrak @vbabka

Kernel community
1
3
8

We don't have enough kernel memes on here, just doing my part

2
13
4

Harry (Hyeonggon) Yoo

Edited 7 months ago
init_task is not the task_struct of the init process but of the swapper process.
It confuses me every time.
1
0
3
@ljs @lkundrak @vbabka

Oh I see. I thought you three just met in person to have a beer together.
1
0
2
@ljs @lkundrak @vbabka

Ohhh you guys gathered in person! Is it in the Czech? England?

Btw I'm disappointed that @lkundrak isn't equipped with a hammer to smash filesystems
1
0
2

Harry (Hyeonggon) Yoo

why is rsync painfully slow when backing up the root filesystem
0
0
1

LWN.net is now @LWN@lwn.net

Several Russian developers lose kernel maintainership status

https://lwn.net/Articles/995186/

4
9
0
@ljs @vbabka @lkundrak

It has gotten long as it has a bit of history :P

- Someone fixed a memory leak but introduced a double-free.
- Another person fixed the double-free, reintroducing the leak.
- A third person then fixed the leak, but reverted it after noticing it introduced another double-free.

It's been there because handling all error cases properly is complicated. Luckily, it's a kind of bug that someone is very unlikely to encounter, and it only leaks 32 bytes of memory.
0
0
5

@hyeyoo @ljs oh that is my favourite
👉 social media influencer
👉 ape
👉 son of a fish

1
2
3

Harry (Hyeonggon) Yoo

Submitting my school assignment for “Contributing to Open Source Projects” class to linux-mm

https://lore.kernel.org/linux-mm/20241021091413.154775-1-42.hyeyoo@gmail.com/T
1
3
6
@lkundrak @vbabka

It reminds me of Vlasta's old LWN articles named "Patching until the COWs come home"

part 1 - https://lwn.net/Articles/849638/
part 2 - https://lwn.net/Articles/849876/
0
0
2

Harry (Hyeonggon) Yoo

I spent last week debugging why my machine was dead. The symptom was that it would turn off right away when it's turned on. I suspected the root cause was either the CPU, memory, motherboard, or power supply failing. So I replaced every component with parts from another computer, but it still didn't work.

The root cause was that the power button of the case was broken, causing it to always appear as if it was pressed, so it would turn off every time I turned it on. That was totally unexpected. I just replaced the power line with the reset line and it works fine now.
1
0
4
@vbabka @lkundrak
... maybe it was in the textbook in middle school?
wait, 'prion' is a pun here!
1
0
3
@lkundrak @vbabka

Ohhh wait mad cow disease I've heard of it!
2
0
4
Show older