摘要 |
Embodiments of the present invention provide a data writing method and a memory system. The method is applicable to a memory system at least comprising a memory controller and a memory device, and the method comprises: the memory controller receiving change information sent by a cache, the change information being information that is generated after the cache divides a first to-be-written cache line of a last level cache (LLC) into at least one data block and that indicates whether data on each data block changes; and the memory controller sending, according to the change information, a corresponding column address and corresponding data to the memory device for each change data block on which data changes, so that the memory device writes data in each change data block, and does not write data in a data block on which data does not change, so as to achieve the objectives of quickly writing effective data, reducing the energy consumption of the memory system, and improving the performance of the memory system. |