深入解析 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
社媒成稿工作台 · 一键复制
飞书同步推送 · 含数据/日期/出处/启发