跳到正文
原文
Lobsters· taniwha.com via kwas·· 7 天前AI 评分20

深入解析 Unix V6 上下文切换中「You are not expected to understand this.」的含义

Understanding "You are not expected to understand this."

AI 导读

一位曾把 Unix V6 移植到 Vax 的开发者拆解了 V6 上下文切换代码中那句著名的「You are not expected to understand this.」。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1499
深入解析 Unix V6 上下文切换中「You are not expected to understand this.」的含义

📊 核心数据与事实(2026-11-26):
一位曾把 Unix V6 移植到 Vax 的开发者拆解了 V6 上下文切换代码中那句著名的「You are not expected to understand this.」。
• 原文实测切片:It's deeply beholding to details in the V6 PDP-11 calling conventions - savu() saves enough state to return to it saves the stack pointer (r6) and frame pointer (r5), it doesn't touch r2-r4 _savu: bis $340,PS // turn off interrupts mov (sp)+,r1…
• 原文实测切片:retu() differs from aretu() in that retu() also maps the udot into the last page of memory - retu is always passed the physical address of the udot, it's slightly magic in that the first 2 words of the udot is also u.u_rsav the place that retu(…
• 原文实测切片:into MMU mov $_u,r0 // get kernel virtual address of u.u_rsav in r0 mov (r0)+,sp // restore stack pointer mov (r0)+,r5 // restore frame pointer bic $340,PS // turn interrupots on jmp (r1) // return to caller There's another bit of magic here:…

💡 对独立开发者的启发:
1/ 供给过剩时代,真正值钱的不是多写几行代码,而是更快识别经一手数据验证的真实痛点。
2/ 把每一条高信噪比情报拆成「核心主张 → 生效机制 → 边界条件 → 我这周能测的一个动作」,读十篇不如落地验证一次。
3/ 围绕单一可复利渠道(长尾 SEO / 社区干货 / 自动化工具)持续深耕,用真实用户付费验证判断。

📅 日期:2026-11-26(北京时间)
📰 信息源出处:Lobsters · taniwha.com via kwas(taniwha.com)
🔗 原文:https://www.taniwha.com/~paul/not.html
📡 归档:https://billionare.me/items/za7w3noze13t5k29gatg8kqik
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Lobsters · taniwha.com